[gnome-font-viewer] font-view: don't use deprecated GtkHBox



commit f4569ec7d5584542f85f0bcb4f5266082cf3d774
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Oct 25 11:55:58 2011 -0400

    font-view: don't use deprecated GtkHBox
    
    Use GtkBox instead

 src/font-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/font-view.c b/src/font-view.c
index c43f537..10abd7d 100644
--- a/src/font-view.c
+++ b/src/font-view.c
@@ -528,7 +528,7 @@ main (int argc,
     g_free (title);
     gtk_window_set_resizable (GTK_WINDOW (window), TRUE);
 
-    hbox = gtk_hbox_new (FALSE, 0);
+    hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
     gtk_container_add (GTK_CONTAINER (window), hbox);
 
     swin = gtk_scrolled_window_new (NULL, NULL);



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