aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/gtk3_define.patch
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-06-28 11:18:53 -0400
committerKen VanDine <ken.vandine@canonical.com>2011-06-28 11:18:53 -0400
commitd6c3971f3dc1d69de7e6f937b4bc0aa82842b05f (patch)
treee6ce13d187b84814df33d235b447b1dad361d466 /debian/patches/gtk3_define.patch
parent0db14c2008893a3fec9182b28947ff8efbf6cf7d (diff)
parentfbe33a6d8e37468d5f01c5747c9ccb1763208db6 (diff)
downloadayatana-indicator-sound-d6c3971f3dc1d69de7e6f937b4bc0aa82842b05f.tar.gz
ayatana-indicator-sound-d6c3971f3dc1d69de7e6f937b4bc0aa82842b05f.tar.bz2
ayatana-indicator-sound-d6c3971f3dc1d69de7e6f937b4bc0aa82842b05f.zip
releasing version 0.7.2-0ubuntu1
Diffstat (limited to 'debian/patches/gtk3_define.patch')
-rw-r--r--debian/patches/gtk3_define.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/gtk3_define.patch b/debian/patches/gtk3_define.patch
new file mode 100644
index 0000000..373aad7
--- /dev/null
+++ b/debian/patches/gtk3_define.patch
@@ -0,0 +1,19 @@
+=== modified file 'src/metadata-widget.c'
+--- old/src/metadata-widget.c 2011-06-28 10:39:16 +0000
++++ new/src/metadata-widget.c 2011-06-28 14:57:26 +0000
+@@ -59,12 +59,14 @@
+ static void metadata_widget_set_style (GtkWidget* button, GtkStyle* style);
+ static void metadata_widget_set_twin_item (MetadataWidget* self,
+ DbusmenuMenuitem* twin_item);
++#if GTK_CHECK_VERSION(3, 0, 0)
+ static void metadata_get_preferred_width (GtkWidget *widget,
+ gint *minimal_width,
+ gint *natural_width);
+ static void metadata_get_preferred_height (GtkWidget *widget,
+ gint *minimal_width,
+ gint *natural_width);
++#endif
+
+
+ // keyevent consumers
+