diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-10-30 05:00:32 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-10-30 05:22:58 +0200 |
commit | a9894d4cf48e04dcb89043b425be07870ad7c496 (patch) | |
tree | e375b4a784feea7eb7815ecb2c69443e8eaef55a /gtk/gtkmenu.c | |
parent | b2207f6730137f5167b39d6c686a905ba2f532ab (diff) | |
download | gtk+-a9894d4cf48e04dcb89043b425be07870ad7c496.tar.gz |
Use gtk_box_new() instead gtk_[v|h]box_new()
Diffstat (limited to 'gtk/gtkmenu.c')
-rw-r--r-- | gtk/gtkmenu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c index 4240325d3b..f36a9d5548 100644 --- a/gtk/gtkmenu.c +++ b/gtk/gtkmenu.c @@ -2158,8 +2158,8 @@ gtk_menu_set_tearoff_state (GtkMenu *menu, if (toplevel != NULL) gtk_window_set_transient_for (GTK_WINDOW (menu->tearoff_window), GTK_WINDOW (toplevel)); - - menu->tearoff_hbox = gtk_hbox_new (FALSE, FALSE); + + menu->tearoff_hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, FALSE, 0); gtk_container_add (GTK_CONTAINER (menu->tearoff_window), menu->tearoff_hbox); height = gdk_window_get_height (gtk_widget_get_window (GTK_WIDGET (menu))); |