From: Christian Dywan Date: Thu, 22 Oct 2009 20:59:02 +0000 (+0200) Subject: Move midori_web_view_set_clipboard inside 1.1.15 guards X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=421460741da3b09877f8ba79cc73763a39ce9b7f;p=midori Move midori_web_view_set_clipboard inside 1.1.15 guards --- diff --git a/midori/midori-view.c b/midori/midori-view.c index 80375521..95006fec 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -1363,6 +1363,7 @@ gtk_widget_scroll_event_cb (WebKitWebView* web_view, return FALSE; } +#if WEBKIT_CHECK_VERSION (1, 1, 15) static void midori_web_view_set_clipboard (GtkWidget* widget, const gchar* text) @@ -1376,7 +1377,6 @@ midori_web_view_set_clipboard (GtkWidget* widget, gtk_clipboard_set_text (clipboard, text, -1); } -#if WEBKIT_CHECK_VERSION (1, 1, 15) static void midori_web_view_menu_open_activate_cb (GtkWidget* widget, MidoriView* view)