diff options
-rw-r--r-- | libempathy-gtk/empathy-cell-renderer-activatable.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-cell-renderer-activatable.c b/libempathy-gtk/empathy-cell-renderer-activatable.c index 29393f14c..b0e226091 100644 --- a/libempathy-gtk/empathy-cell-renderer-activatable.c +++ b/libempathy-gtk/empathy-cell-renderer-activatable.c @@ -240,6 +240,9 @@ cell_renderer_activatable_render ( !gdk_rectangle_intersect (expose_area, &draw_rect, &draw_rect)) return; + if (pixbuf == NULL) + return; + if (GTK_WIDGET_STATE (widget) == GTK_STATE_INSENSITIVE || !cell->sensitive) { GtkIconSource *source; |