[libpeas] Fix GTK+ 2 test build



commit bd6cdece900e71491173ca8db981f85b04871215
Author: Garrett Regier <alias301 gmail com>
Date:   Sun Mar 6 04:52:17 2011 -0800

    Fix GTK+ 2 test build

 libpeas-gtk/peas-gtk-disable-plugins-dialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libpeas-gtk/peas-gtk-disable-plugins-dialog.c b/libpeas-gtk/peas-gtk-disable-plugins-dialog.c
index bc12741..3958a7f 100644
--- a/libpeas-gtk/peas-gtk-disable-plugins-dialog.c
+++ b/libpeas-gtk/peas-gtk-disable-plugins-dialog.c
@@ -175,7 +175,7 @@ peas_gtk_disable_plugins_dialog_init (PeasGtkDisablePluginsDialog *dialog)
   gtk_window_set_modal (GTK_WINDOW (dialog), TRUE);
 
 #if !GTK_CHECK_VERSION(2,90,7)
-  gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
+  g_object_set (dialog, "has-separator", FALSE, NULL);
 #endif
 
   gtk_dialog_add_button (GTK_DIALOG (dialog),



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