Code review comment for lp:~cimi/indicator-messages/right-rounded-numbers

Revision history for this message
David Barth (dbarth) wrote :

Something like that:

=== modified file 'src/indicator-messages.c'
--- src/indicator-messages.c 2010-07-29 11:30:48 +0000
+++ src/indicator-messages.c 2010-07-29 11:36:44 +0000
@@ -314,6 +314,8 @@
  PangoLayout * layout;
  gint font_size = RIGHT_LABEL_FONT_SIZE;

+ if (! GTK_IS_WIDGET (widget)) return;
+
  /* get style */
  style = gtk_widget_get_style (widget);

« Back to merge proposal