[gnome-packagekit] Don't use the deprecated gtk_hbox_new



commit bec54d446b0a7c6c85ad40b8d01027a4e6ae7998
Author: Richard Hughes <richard hughsie com>
Date:   Wed Oct 19 08:56:02 2011 +0100

    Don't use the deprecated gtk_hbox_new

 src/gpk-dialog.c |    2 +-
 src/gpk-task.c   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gpk-dialog.c b/src/gpk-dialog.c
index fa7ada5..c0741cd 100644
--- a/src/gpk-dialog.c
+++ b/src/gpk-dialog.c
@@ -456,7 +456,7 @@ gpk_dialog_tabbed_download_size_widget (GtkWidget *tab_page, const gchar *title,
 	/* add a hbox with the size for deps screen */
 	size_str = g_format_size (size);
 	text = g_strdup_printf ("%s: %s", title, size_str);
-	hbox = gtk_hbox_new (FALSE, 6);
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
 	gtk_container_add_with_properties (GTK_CONTAINER (tab_page), hbox,
 					   "expand", FALSE,
 					   "fill", FALSE,
diff --git a/src/gpk-task.c b/src/gpk-task.c
index 68b5005..95cfe4d 100644
--- a/src/gpk-task.c
+++ b/src/gpk-task.c
@@ -394,7 +394,7 @@ gpk_task_add_dialog_deps_section (PkTask *task,
 		goto out;
 	}
 
-	tab_page = gtk_vbox_new (FALSE, 6);
+	tab_page = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
 	gtk_container_set_border_width (GTK_CONTAINER (tab_page), 12);
 
 	/* get the header */



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