aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-datetime.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-05-08 16:26:39 -0700
committerCharles Kerr <charles.kerr@canonical.com>2012-05-08 16:26:39 -0700
commitbb897860e0a72f3dd0fa5bef86832b725e448712 (patch)
tree8f0aa59ab0db501f7b966697dd2e8e559096d975 /src/indicator-datetime.c
parent4b554f022ed28f2b41457f6dbd00e7e0a4a7cdf3 (diff)
parentf07f4e1737450f58de2548e2570c17dc5bd1070f (diff)
downloadayatana-indicator-datetime-bb897860e0a72f3dd0fa5bef86832b725e448712.tar.gz
ayatana-indicator-datetime-bb897860e0a72f3dd0fa5bef86832b725e448712.tar.bz2
ayatana-indicator-datetime-bb897860e0a72f3dd0fa5bef86832b725e448712.zip
raise the minimum gtk version to 3
Diffstat (limited to 'src/indicator-datetime.c')
-rw-r--r--src/indicator-datetime.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/indicator-datetime.c b/src/indicator-datetime.c
index 77fdb40..9e34a65 100644
--- a/src/indicator-datetime.c
+++ b/src/indicator-datetime.c
@@ -1220,11 +1220,7 @@ new_appointment_item (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, Dbu
mi_data->gmi = gtk_menu_item_new();
-#if GTK_CHECK_VERSION(3,0,0)
GtkWidget * hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 4);
-#else
- GtkWidget * hbox = gtk_hbox_new(FALSE, 4);
-#endif
/* Icon, probably someone's face or avatar on an IM */
mi_data->icon = gtk_image_new();
@@ -1435,11 +1431,7 @@ new_timezone_item(DbusmenuMenuitem * newitem,
gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(mi_data->gmi),
dbusmenu_menuitem_property_get_bool(newitem, TIMEZONE_MENUITEM_PROP_RADIO));
-#if GTK_CHECK_VERSION(3,0,0)
GtkWidget * hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 4);
-#else
- GtkWidget * hbox = gtk_hbox_new(FALSE, 4);
-#endif
/* Label, probably a username, chat room or mailbox name */
mi_data->label = gtk_label_new("");