diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/indicator-messages.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/indicator-messages.c b/src/indicator-messages.c index 66d7276..34152ac 100644 --- a/src/indicator-messages.c +++ b/src/indicator-messages.c @@ -540,6 +540,9 @@ numbers_draw_cb (GtkWidget *widget, GdkEventExpose *event, gpointer data) pango_layout_get_extents (layout, NULL, &layout_extents); pango_extents_to_pixels (&layout_extents, NULL); + if (layout_extents.width == 0) + return TRUE; + #if GTK_CHECK_VERSION(3, 0, 0) cairo_save (cr); #else |