[gnome-panel] panel: Stop using deprecated gtk_[hv]box_new()
- From: Vincent Untz <vuntz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] panel: Stop using deprecated gtk_[hv]box_new()
- Date: Thu, 2 Feb 2012 14:27:06 +0000 (UTC)
commit 8d012f62adf2b810e98033bd4a80e018d3c9654a
Author: Vincent Untz <vuntz gnome org>
Date: Thu Feb 2 14:58:29 2012 +0100
panel: Stop using deprecated gtk_[hv]box_new()
gnome-panel/panel-addto.c | 4 ++--
gnome-panel/panel-ditem-editor.c | 2 +-
gnome-panel/panel-force-quit.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gnome-panel/panel-addto.c b/gnome-panel/panel-addto.c
index 1e58194..86f415b 100644
--- a/gnome-panel/panel-addto.c
+++ b/gnome-panel/panel-addto.c
@@ -1269,10 +1269,10 @@ panel_addto_dialog_new (PanelWidget *panel_widget)
g_signal_connect (dialog->addto_dialog, "destroy",
G_CALLBACK (panel_addto_dialog_destroy), dialog);
- inner_vbox = gtk_vbox_new (FALSE, 6);
+ inner_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_box_pack_start (GTK_BOX (dialog_vbox), inner_vbox, TRUE, TRUE, 0);
- find_hbox = gtk_hbox_new (FALSE, 6);
+ find_hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
gtk_box_pack_start (GTK_BOX (inner_vbox), find_hbox, FALSE, FALSE, 0);
dialog->label = gtk_label_new_with_mnemonic ("");
diff --git a/gnome-panel/panel-ditem-editor.c b/gnome-panel/panel-ditem-editor.c
index c55b290..1c1cabb 100644
--- a/gnome-panel/panel-ditem-editor.c
+++ b/gnome-panel/panel-ditem-editor.c
@@ -640,7 +640,7 @@ panel_ditem_editor_make_ui (PanelDItemEditor *dialog)
/* Command */
priv->command_label = label_new_with_mnemonic ("");
- priv->command_hbox = gtk_hbox_new (FALSE, 12);
+ priv->command_hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
gtk_widget_show (priv->command_hbox);
priv->command_entry = gtk_entry_new ();
diff --git a/gnome-panel/panel-force-quit.c b/gnome-panel/panel-force-quit.c
index 580dea8..fcf63a7 100644
--- a/gnome-panel/panel-force-quit.c
+++ b/gnome-panel/panel-force-quit.c
@@ -63,7 +63,7 @@ display_popup_window (GdkScreen *screen)
gtk_container_add (GTK_CONTAINER (retval), frame);
gtk_widget_show (frame);
- vbox = gtk_vbox_new (FALSE, 0);
+ vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 8);
gtk_container_add (GTK_CONTAINER (frame), vbox);
gtk_widget_show (vbox);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]