aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/indicator-messages.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/indicator-messages.c b/src/indicator-messages.c
index 550f1fd..d1133ea 100644
--- a/src/indicator-messages.c
+++ b/src/indicator-messages.c
@@ -314,6 +314,8 @@ numbers_draw_cb (GtkWidget *widget, GdkEventExpose *event, gpointer data)
PangoLayout * layout;
gint font_size = RIGHT_LABEL_FONT_SIZE;
+ if (!GTK_IS_WIDGET (widget)) return;
+
/* get style */
style = gtk_widget_get_style (widget);