diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-02-10 17:44:16 +0100 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-02-10 17:44:16 +0100 |
commit | 07a19cb993cacaf3a1185f1268334a6f6d3e744f (patch) | |
tree | 053f608ca6e1736da5a852734b539f54cb742893 /src/indicator-messages.c | |
parent | 981c01a3442a6a0a459ac313e29486b67aa1aac7 (diff) | |
parent | 1f045f4255da09068f5fbbdf89f178631211f2ee (diff) | |
download | ayatana-indicator-messages-07a19cb993cacaf3a1185f1268334a6f6d3e744f.tar.gz ayatana-indicator-messages-07a19cb993cacaf3a1185f1268334a6f6d3e744f.tar.bz2 ayatana-indicator-messages-07a19cb993cacaf3a1185f1268334a6f6d3e744f.zip |
Merge trunk
Diffstat (limited to 'src/indicator-messages.c')
-rw-r--r-- | src/indicator-messages.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/indicator-messages.c b/src/indicator-messages.c index f5f2fe0..197d55a 100644 --- a/src/indicator-messages.c +++ b/src/indicator-messages.c @@ -701,7 +701,11 @@ new_indicator_item (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, Dbusm gint font_size = gtk_widget_get_font_size (GTK_WIDGET (gmi)); gtk_widget_style_get(GTK_WIDGET(gmi), "toggle-spacing", &padding, NULL); +#if GTK_CHECK_VERSION(3, 0, 0) GtkWidget * hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, padding); +#else + GtkWidget * hbox = gtk_hbox_new(FALSE, padding); +#endif /* Icon, probably someone's face or avatar on an IM */ mi_data->icon = gtk_image_new(); |