aboutsummaryrefslogtreecommitdiff
path: root/tools/indicator-loader.c
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-07-07 10:11:32 -0400
committerKen VanDine <ken.vandine@canonical.com>2011-07-07 10:11:32 -0400
commit95d709f429490ec4d3a636b8cf0747ceedbbc995 (patch)
treee6e64ca83555d0074177a386bb9e604f6fda4915 /tools/indicator-loader.c
parent36fb97c7c97c3b40b48190e8e37b494bdff9edb9 (diff)
parent8677620e7825d0ac249f5bc71210e4cf5dab53ec (diff)
downloadlibayatana-indicator-95d709f429490ec4d3a636b8cf0747ceedbbc995.tar.gz
libayatana-indicator-95d709f429490ec4d3a636b8cf0747ceedbbc995.tar.bz2
libayatana-indicator-95d709f429490ec4d3a636b8cf0747ceedbbc995.zip
* New upstream release.
* Build Fixes * Adding license to test files (LP: #684886) * Bump API/ABI versions appropriately and make easier to edit them in the future * Adding a name-hint to the indicator entries * Merging scroll functions into a single good one (LP: #804618) * debian/*install, control: Changing ABI version number bump in package names * debian/rules: Making GTK2 the special case as GTK3 is default now * debian/*install: Fixing pkgconfig file names
Diffstat (limited to 'tools/indicator-loader.c')
-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);