diff options
Diffstat (limited to 'debian/patches/gtk3_define.patch')
-rw-r--r-- | debian/patches/gtk3_define.patch | 19 |
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 + |