diff options
author | Sebastien Bacher <seb128@ubuntu.com> | 2012-02-20 19:40:49 +0100 |
---|---|---|
committer | Sebastien Bacher <seb128@ubuntu.com> | 2012-02-20 19:40:49 +0100 |
commit | 39bc08ed8c8c3d1be351c2642c8e2eb572a3061c (patch) | |
tree | e3fc866a6652806755760ba51dd31812299a6478 /debian/patches/gtk_box_api.patch | |
parent | 4a2175798e434a4e33def2f30e15b49714eab33b (diff) | |
parent | ade1e121d41dd07ccc81a641862d81798e38b145 (diff) | |
download | ayatana-indicator-datetime-39bc08ed8c8c3d1be351c2642c8e2eb572a3061c.tar.gz ayatana-indicator-datetime-39bc08ed8c8c3d1be351c2642c8e2eb572a3061c.tar.bz2 ayatana-indicator-datetime-39bc08ed8c8c3d1be351c2642c8e2eb572a3061c.zip |
releasing version 0.3.90-0ubuntu1
Diffstat (limited to 'debian/patches/gtk_box_api.patch')
-rw-r--r-- | debian/patches/gtk_box_api.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/debian/patches/gtk_box_api.patch b/debian/patches/gtk_box_api.patch deleted file mode 100644 index 0dd28f0..0000000 --- a/debian/patches/gtk_box_api.patch +++ /dev/null @@ -1,41 +0,0 @@ -From: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com> -Subject: Port to the new gtk_box_new() instead of gtk_hbox_new(). - -Index: indicator-datetime/src/indicator-datetime.c -=================================================================== ---- indicator-datetime.orig/src/indicator-datetime.c 2012-01-12 23:59:50.815675283 +0100 -+++ indicator-datetime/src/indicator-datetime.c 2012-01-13 00:02:24.083668449 +0100 -@@ -34,6 +34,7 @@ - #include <glib-object.h> - #include <glib/gi18n-lib.h> - #include <gio/gio.h> -+#include <gtk/gtk.h> - - /* Indicator Stuff */ - #include <libindicator/indicator.h> -@@ -1261,7 +1262,12 @@ - - mi_data->gmi = gtk_menu_item_new(); - -+#if GTK_CHECK_VERSION(3, 2, 0) -+ GtkWidget * hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 4); -+ gtk_box_set_homogeneous (GTK_BOX(hbox), FALSE); -+#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(); -@@ -1472,7 +1478,12 @@ - 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, 2, 0) -+ GtkWidget * hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 4); -+ gtk_box_set_homogeneous (GTK_BOX(hbox), FALSE); -+#else - GtkWidget * hbox = gtk_hbox_new(FALSE, 4); -+#endif - - /* Label, probably a username, chat room or mailbox name */ - mi_data->label = gtk_label_new(""); |