aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2011-07-08 03:03:00 +0200
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2011-07-08 03:03:00 +0200
commit5f78a771bfb0a7f334da952eeb9a8b4c049110be (patch)
tree8e7c8af2b887834aea9ad4afe7581207138f5093 /tools
parent8881229ab3af6dfd5a23f33357c0ef466aa7fd85 (diff)
parent352c01a8d42297be35392ac204f23bfd81fc0123 (diff)
downloadlibayatana-indicator-5f78a771bfb0a7f334da952eeb9a8b4c049110be.tar.gz
libayatana-indicator-5f78a771bfb0a7f334da952eeb9a8b4c049110be.tar.bz2
libayatana-indicator-5f78a771bfb0a7f334da952eeb9a8b4c049110be.zip
Merging with trunk
Diffstat (limited to 'tools')
-rw-r--r--tools/indicator-loader.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/indicator-loader.c b/tools/indicator-loader.c
index 03614aa..027d364 100644
--- a/tools/indicator-loader.c
+++ b/tools/indicator-loader.c
@@ -44,7 +44,11 @@ entry_added (IndicatorObject * io, IndicatorObjectEntry * entry, gpointer user_d
g_debug("Signal: Entry Added");
GtkWidget * menuitem = gtk_menu_item_new();
+#if GTK_CHECK_VERSION(3,0,0)
+ GtkWidget * hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 3);
+#else
GtkWidget * hbox = gtk_hbox_new(FALSE, 3);
+#endif
if (entry->image != NULL) {
gtk_box_pack_start(GTK_BOX(hbox), GTK_WIDGET(entry->image), FALSE, FALSE, 0);