aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/gtk3_define.patch
blob: 373aad726003c76cb1f0208c183dd386bf869f22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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