summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2013-04-19 19:01:42 +0200
committerStef Walter <stefw@gnome.org>2013-04-19 19:01:42 +0200
commit86db547733ccdf1c55c6e9cdb953cbe19e861c4b (patch)
tree4267310c735076a8b4bf351044d016b1fdaf19c5 /ui
parent4de7c0e464c049fb9e6dfdab0972ea6b921b0cea (diff)
Make gcr build on both pre GTK+ 3.8 and later versions
Diffstat (limited to 'ui')
-rw-r--r--ui/gcr-display-view.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/ui/gcr-display-view.c b/ui/gcr-display-view.c
index 28b6c05..fa4f4e9 100644
--- a/ui/gcr-display-view.c
+++ b/ui/gcr-display-view.c
@@ -734,7 +734,13 @@ _gcr_display_get_preferred_width (GtkWidget *widget, gint *minimal_width,
}
static void
-_gcr_display_view_populate_popup (GtkTextView *text_view, GtkWidget *menu)
+_gcr_display_view_populate_popup (GtkTextView *text_view,
+#if GTK_CHECK_VERSION (3, 8, 0)
+ GtkWidget *menu
+#else
+ GtkMenu *menu
+#endif
+ )
{
GcrDisplayView *self = GCR_DISPLAY_VIEW (text_view);