[gedit-collaboration] No longer use Gtk[HV]Box as it is deprecated



commit df2c10aa35def2633e937dcaa9a3b2dbd5aef020
Author: Garrett Regier <alias301 gmail com>
Date:   Sun Jun 12 13:44:39 2011 -0700

    No longer use Gtk[HV]Box as it is deprecated

 src/gedit-collaboration-actions.c          |    2 +-
 src/gedit-collaboration-document-message.c |    4 ++--
 src/gedit-collaboration-window-helper.c    |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/gedit-collaboration-actions.c b/src/gedit-collaboration-actions.c
index 4b6d761..6623aac 100644
--- a/src/gedit-collaboration-actions.c
+++ b/src/gedit-collaboration-actions.c
@@ -109,7 +109,7 @@ item_new_dialog (GeditCollaborationWindowHelper *helper,
 	                                      GTK_RESPONSE_OK,
 	                                      NULL);
 
-	hbox = gtk_hbox_new (FALSE, 6);
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
 	gtk_widget_show (hbox);
 
 	label = gtk_label_new_with_mnemonic (newfile ? _("File _name:") : _("Folder _name:"));
diff --git a/src/gedit-collaboration-document-message.c b/src/gedit-collaboration-document-message.c
index e7170a1..e09f834 100644
--- a/src/gedit-collaboration-document-message.c
+++ b/src/gedit-collaboration-document-message.c
@@ -42,13 +42,13 @@ set_message_area_text_and_icon (GeditCollaborationDocumentMessage *message_area,
 	GtkWidget *content_area;
 	gchar *escaped;
 
-	hbox_content = gtk_hbox_new (FALSE, 8);
+	hbox_content = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 8);
 
 	image = gtk_image_new_from_stock (icon_stock_id, GTK_ICON_SIZE_DIALOG);
 	gtk_box_pack_start (GTK_BOX (hbox_content), image, FALSE, FALSE, 0);
 	gtk_misc_set_alignment (GTK_MISC (image), 0.5, 0);
 
-	vbox = gtk_vbox_new (FALSE, 6);
+	vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
 	gtk_box_pack_start (GTK_BOX (hbox_content), vbox, TRUE, TRUE, 0);
 
 	escaped = g_markup_escape_text (primary_text, -1);
diff --git a/src/gedit-collaboration-window-helper.c b/src/gedit-collaboration-window-helper.c
index 4425b98..c5b84b4 100644
--- a/src/gedit-collaboration-window-helper.c
+++ b/src/gedit-collaboration-window-helper.c
@@ -1574,7 +1574,7 @@ build_ui (GeditCollaborationWindowHelper *helper)
 	/* Create panel */
 	panel = gedit_window_get_side_panel (helper->priv->window);
 
-	vbox = gtk_vbox_new (FALSE, 3);
+	vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 3);
 	gtk_widget_show (vbox);
 
 	toolbar = gtk_ui_manager_get_widget (helper->priv->uimanager, "/ToolBar");



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