[gnome-system-tools] Don't use deprecated gtk_widget_show_all()
- From: Milan Bouchet-Valat <milanbv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-system-tools] Don't use deprecated gtk_widget_show_all()
- Date: Sun, 12 Dec 2010 17:45:34 +0000 (UTC)
commit 368b2c7b372addee0693dec8fffd27b2d7d0fd93
Author: Milan Bouchet-Valat <nalimilan club fr>
Date: Sun Dec 12 12:47:06 2010 +0100
Don't use deprecated gtk_widget_show_all()
Needed to move to GTK3.
src/time/time-tool.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/time/time-tool.c b/src/time/time-tool.c
index e762e02..fd6932a 100644
--- a/src/time/time-tool.c
+++ b/src/time/time-tool.c
@@ -462,7 +462,7 @@ on_option_changed (GtkWidget *combo,
gtk_container_remove (GTK_CONTAINER (container), gtk_bin_get_child (GTK_BIN (container)));
gtk_container_add (GTK_CONTAINER (container), widget);
- gtk_widget_show_all (container);
+ gtk_widget_show (container);
}
static void
@@ -757,9 +757,9 @@ gst_time_tool_run_timezone_dialog (GstTimeTool *time_tool)
gst_dialog_add_edit_dialog (tool->main_dialog, time_tool->timezone_dialog);
- gtk_widget_show_all (time_tool->timezone_dialog);
+ gtk_widget_show (time_tool->timezone_dialog);
gtk_dialog_run (GTK_DIALOG (time_tool->timezone_dialog));
- gtk_widget_hide_all (time_tool->timezone_dialog);
+ gtk_widget_hide (time_tool->timezone_dialog);
gst_dialog_remove_edit_dialog (tool->main_dialog, time_tool->timezone_dialog);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]