From 90608ed0a8c9ef54b84e5e4783e26907a71a5d34 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sat, 1 Jan 2011 00:46:45 +0000 Subject: [PATCH] One more compilation fix for WebKit < 1.1.14 --- src/ghtml-webkit.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ghtml-webkit.c b/src/ghtml-webkit.c index 67a4b94..1342fd2 100644 --- a/src/ghtml-webkit.c +++ b/src/ghtml-webkit.c @@ -431,10 +431,12 @@ void ghtml_print(GtkWidget * widget) /* ghtml_redo */ void ghtml_redo(GtkWidget * widget) { +#if WEBKIT_CHECK_VERSION(1, 1, 14) GHtml * ghtml; ghtml = g_object_get_data(G_OBJECT(widget), "ghtml"); webkit_web_view_redo(WEBKIT_WEB_VIEW(ghtml->view)); +#endif } @@ -481,10 +483,12 @@ void ghtml_select_all(GtkWidget * widget) /* ghtml_undo */ void ghtml_undo(GtkWidget * widget) { +#if WEBKIT_CHECK_VERSION(1, 1, 14) GHtml * ghtml; ghtml = g_object_get_data(G_OBJECT(widget), "ghtml"); webkit_web_view_undo(WEBKIT_WEB_VIEW(ghtml->view)); +#endif }