summaryrefslogtreecommitdiff
path: root/gtk/compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/compat.c')
-rw-r--r--gtk/compat.c9
1 files changed, 9 insertions, 0 deletions
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
+}
+