[totem/gnome-2-32] Remove calls to gtk_dialog_set_has_separator()



commit e242887567d52c2d73e2d0359a66def9f778b792
Author: Philip Withnall <philip tecnocode co uk>
Date:   Thu Sep 16 11:27:23 2010 +0100

    Remove calls to gtk_dialog_set_has_separator()
    
    It's deprecated in GTK+ 2.22. This bumps the GTK+ dependency to 2.21.8 due
    to the necessary change in the default value of the property.

 configure.in                                    |    2 +-
 src/plugins/chapters/totem-edit-chapter.c       |    1 -
 src/plugins/screenshot/totem-gallery-progress.c |    1 -
 src/plugins/screenshot/totem-screenshot.c       |    1 -
 src/plugins/skipto/totem-skipto.c               |    1 -
 src/totem-menu.c                                |    1 -
 src/totem-open-location.c                       |    1 -
 src/totem-preferences.c                         |    1 -
 8 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/configure.in b/configure.in
index bc9103c..2f5bafe 100644
--- a/configure.in
+++ b/configure.in
@@ -38,7 +38,7 @@ AC_PATH_PROG([GLIB_MKENUMS],[glib-mkenums])
 
 # Requirements
 GLIB_REQS=2.25.11
-GTK_REQS=2.19.5
+GTK_REQS=2.21.8
 TOTEM_PLPARSER_REQS=2.30.2
 GNOMEICON_REQS=2.15.90
 DBUS_REQS=0.61
diff --git a/src/plugins/chapters/totem-edit-chapter.c b/src/plugins/chapters/totem-edit-chapter.c
index e90f69e..d485dee 100644
--- a/src/plugins/chapters/totem-edit-chapter.c
+++ b/src/plugins/chapters/totem-edit-chapter.c
@@ -155,7 +155,6 @@ totem_edit_chapter_new (void)
 				GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
 				GTK_STOCK_OK, GTK_RESPONSE_OK,
 				NULL);
-	gtk_dialog_set_has_separator (GTK_DIALOG (edit_chapter), FALSE);
 	gtk_container_set_border_width (GTK_CONTAINER (edit_chapter), 5);
 	gtk_dialog_set_default_response (GTK_DIALOG (edit_chapter), GTK_RESPONSE_OK);
 	gtk_dialog_set_response_sensitive (GTK_DIALOG (edit_chapter), GTK_RESPONSE_OK, FALSE);
diff --git a/src/plugins/screenshot/totem-gallery-progress.c b/src/plugins/screenshot/totem-gallery-progress.c
index 11c3a7e..6769886 100644
--- a/src/plugins/screenshot/totem-gallery-progress.c
+++ b/src/plugins/screenshot/totem-gallery-progress.c
@@ -100,7 +100,6 @@ totem_gallery_progress_new (GPid child_pid, const gchar *output_filename)
 	/* Set up the window */
 	gtk_window_set_title (GTK_WINDOW (self), _("Creating Gallery..."));
 	gtk_window_set_resizable (GTK_WINDOW (self), FALSE);
-	gtk_dialog_set_has_separator (GTK_DIALOG (self), FALSE);
 	gtk_dialog_add_button (GTK_DIALOG (self), GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL);
 	gtk_dialog_set_default_response (GTK_DIALOG (self), GTK_RESPONSE_CANCEL);
 
diff --git a/src/plugins/screenshot/totem-screenshot.c b/src/plugins/screenshot/totem-screenshot.c
index d10e60d..d51aacf 100644
--- a/src/plugins/screenshot/totem-screenshot.c
+++ b/src/plugins/screenshot/totem-screenshot.c
@@ -135,7 +135,6 @@ totem_screenshot_init (TotemScreenshot *screenshot)
 				GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
 				GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT,
 				NULL);
-	gtk_dialog_set_has_separator (GTK_DIALOG (screenshot), FALSE);
 	gtk_window_set_title (GTK_WINDOW (screenshot), _("Save Screenshot"));
 	gtk_dialog_set_default_response (GTK_DIALOG (screenshot), GTK_RESPONSE_ACCEPT);
 	gtk_window_set_resizable (GTK_WINDOW (screenshot), FALSE);
diff --git a/src/plugins/skipto/totem-skipto.c b/src/plugins/skipto/totem-skipto.c
index 62b5478..1c4d646 100644
--- a/src/plugins/skipto/totem-skipto.c
+++ b/src/plugins/skipto/totem-skipto.c
@@ -188,7 +188,6 @@ totem_skipto_new (TotemSkiptoPlugin *plugin)
 		(skipto->priv->xml, "tstw_skip_adjustment")), skipto);
 
 	gtk_window_set_title (GTK_WINDOW (skipto), _("Skip to"));
-	gtk_dialog_set_has_separator (GTK_DIALOG (skipto), FALSE);
 	gtk_dialog_add_buttons (GTK_DIALOG (skipto),
 				GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
 				GTK_STOCK_OK, GTK_RESPONSE_OK,
diff --git a/src/totem-menu.c b/src/totem-menu.c
index 88dd364..401a5b9 100644
--- a/src/totem-menu.c
+++ b/src/totem-menu.c
@@ -1225,7 +1225,6 @@ plugins_action_callback (GtkAction *action, Totem *totem)
 							      NULL);
 		gtk_container_set_border_width (GTK_CONTAINER (totem->plugins), 5);
 		gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (totem->plugins))), 2);
-		gtk_dialog_set_has_separator (GTK_DIALOG (totem->plugins), FALSE);
 
 		g_signal_connect_object (G_OBJECT (totem->plugins),
 					 "delete_event",
diff --git a/src/totem-open-location.c b/src/totem-open-location.c
index 5ec9a9d..7d382ba 100644
--- a/src/totem-open-location.c
+++ b/src/totem-open-location.c
@@ -177,7 +177,6 @@ totem_open_location_new (void)
 	}
 
 	gtk_window_set_title (GTK_WINDOW (open_location), _("Open Location..."));
-	gtk_dialog_set_has_separator (GTK_DIALOG (open_location), FALSE);
 	gtk_dialog_add_buttons (GTK_DIALOG (open_location),
 			GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
 			GTK_STOCK_OPEN, GTK_RESPONSE_OK,
diff --git a/src/totem-preferences.c b/src/totem-preferences.c
index 42f1c8c..ce259cd 100644
--- a/src/totem-preferences.c
+++ b/src/totem-preferences.c
@@ -596,7 +596,6 @@ totem_setup_preferences (Totem *totem)
 			GTK_STOCK_CLOSE,
 			GTK_RESPONSE_ACCEPT,
 			NULL);
-	gtk_dialog_set_has_separator (GTK_DIALOG (totem->prefs), FALSE);
 	gtk_container_set_border_width (GTK_CONTAINER (totem->prefs), 5);
 	content_area = gtk_dialog_get_content_area (GTK_DIALOG (totem->prefs));
 	gtk_box_set_spacing (GTK_BOX (content_area), 2);



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