diff options
author | Stef Walter <stefw@gnome.org> | 2013-04-19 19:01:42 +0200 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2013-04-19 19:01:42 +0200 |
commit | 86db547733ccdf1c55c6e9cdb953cbe19e861c4b (patch) | |
tree | 4267310c735076a8b4bf351044d016b1fdaf19c5 /ui | |
parent | 4de7c0e464c049fb9e6dfdab0972ea6b921b0cea (diff) |
Make gcr build on both pre GTK+ 3.8 and later versions
Diffstat (limited to 'ui')
-rw-r--r-- | ui/gcr-display-view.c | 8 |
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); |