diff options
Diffstat (limited to 'src/lib/animations.c')
-rw-r--r-- | src/lib/animations.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/animations.c b/src/lib/animations.c index bab9257f..b3f6bf5e 100644 --- a/src/lib/animations.c +++ b/src/lib/animations.c | |||
@@ -235,7 +235,8 @@ redraw_tree_view (struct GNUNET_FS_AnimationTreeViewHandle *atv) | |||
235 | gint width; | 235 | gint width; |
236 | 236 | ||
237 | gw = gtk_widget_get_window (GTK_WIDGET (atv->tv)); | 237 | gw = gtk_widget_get_window (GTK_WIDGET (atv->tv)); |
238 | 238 | if (! gtk_widget_get_realized (GTK_WIDGET (atv->tv))) | |
239 | return; | ||
239 | /* Get column x and width in bin window coordinates */ | 240 | /* Get column x and width in bin window coordinates */ |
240 | gtk_tree_view_get_cell_area (atv->tv, NULL, atv->image_col, &r); | 241 | gtk_tree_view_get_cell_area (atv->tv, NULL, atv->image_col, &r); |
241 | /* Convert x and width to window coordinates */ | 242 | /* Convert x and width to window coordinates */ |