[libpeas] Make peasgtk compile with latest gtk+ (NO_SEPARATOR removal)



commit b7d844ec28bef2dc43b86c9d21988a4b0a429314
Author: Jesse van den Kieboom <jesse icecrew nl>
Date:   Sat Sep 4 22:59:38 2010 +0200

    Make peasgtk compile with latest gtk+ (NO_SEPARATOR removal)

 libpeas-gtk/peas-gtk-plugin-manager.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libpeas-gtk/peas-gtk-plugin-manager.c b/libpeas-gtk/peas-gtk-plugin-manager.c
index 1fe9c9c..5494a04 100644
--- a/libpeas-gtk/peas-gtk-plugin-manager.c
+++ b/libpeas-gtk/peas-gtk-plugin-manager.c
@@ -250,7 +250,11 @@ show_configure_cb (GtkWidget            *widget,
 
   conf_dlg = gtk_dialog_new_with_buttons (peas_plugin_info_get_name (info),
                                           toplevel,
+#if !GTK_CHECK_VERSION(2,90,7)
                                           GTK_DIALOG_NO_SEPARATOR,
+#else
+                                          0,
+#endif
                                           GTK_STOCK_CLOSE,
                                           GTK_RESPONSE_CLOSE,
                                           NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]