From c3fd002e92f639afdbb801f74038fa7b27769b37 Mon Sep 17 00:00:00 2001 From: Bryan Schumaker Date: Sat, 22 Oct 2011 08:53:32 -0400 Subject: [PATCH] ocarina: Remove unnecessary widgets I can now add the body tabs directly to the window, rather than packing them in a box with other things. --- ocarina/ocarina.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ocarina/ocarina.cpp b/ocarina/ocarina.cpp index 9912afbe..36df8036 100644 --- a/ocarina/ocarina.cpp +++ b/ocarina/ocarina.cpp @@ -27,16 +27,11 @@ void ocarina_idle_add() void ocarina_init(int argc, char **argv) { - GtkWidget *vbox = gtk_vbox_new(FALSE, 0); - window_init(); window_title("Ocarina " + vers_str()); window_icon("images/ocarina.png"); - box_pack_start(vbox, get_tabs(), TRUE, TRUE, 0); - gtk_widget_show(vbox); - window_add(vbox); - + window_add(get_tabs()); library_init(); settings_init(); }