diff options
author | Ted Gould <ted@gould.cx> | 2011-07-07 08:25:26 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-07-07 08:25:26 -0500 |
commit | 1e09013d0529be6c031df61955a524c7a5e70a4f (patch) | |
tree | 9b8d61f5008a8712790521752f48cbc54646c8ac | |
parent | 24123eb5db81654167423780fc2d84f1de228bb3 (diff) | |
parent | 14cdff4c343ce0eee37f769a0ba815222c405086 (diff) | |
download | libayatana-indicator-1e09013d0529be6c031df61955a524c7a5e70a4f.tar.gz libayatana-indicator-1e09013d0529be6c031df61955a524c7a5e70a4f.tar.bz2 libayatana-indicator-1e09013d0529be6c031df61955a524c7a5e70a4f.zip |
Fixing the box usage
-rw-r--r-- | tools/indicator-loader.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/indicator-loader.c b/tools/indicator-loader.c index 0cdf1ff..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); |