From 155d8dec3ff6e7b009de4956acc739ac2c61e6f7 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 13 Mar 2011 09:52:40 +0000 Subject: gtk_dialog_set_has_separator is deprecated in GTK >= 2.21.8 svn path=/trunk/netsurf/; revision=12009 --- gtk/compat.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gtk/compat.c') diff --git a/gtk/compat.c b/gtk/compat.c index 822459474..2361dc201 100644 --- a/gtk/compat.c +++ b/gtk/compat.c @@ -88,3 +88,12 @@ GtkStateType nsgtk_widget_get_state(GtkWidget *widget) #endif } +void nsgtk_dialog_set_has_separator(GtkDialog *dialog, gboolean setting) +{ + #if GTK_CHECK_VERSION(2,21,8) + /* Deprecated */ + #else + gtk_dialog_set_has_separator(dialog, setting); + #endif +} + -- cgit v1.2.3