]> git.tdb.fi Git - ext/subsurface.git/blobdiff - info.c
Remove the redundant frames in the notebook. Closes #9
[ext/subsurface.git] / info.c
diff --git a/info.c b/info.c
index 55708bedfd7b103313810034398749d2364659d9..4275ad6ff7b32c7973059b12dd487e7b1d8657bb 100644 (file)
--- a/info.c
+++ b/info.c
@@ -164,21 +164,16 @@ static GtkTextBuffer *text_entry(GtkWidget *box, const char *label, gboolean exp
        return buffer;
 }
 
-GtkWidget *extended_dive_info_frame(void)
+GtkWidget *extended_dive_info_widget(void)
 {
-       GtkWidget *frame;
        GtkWidget *vbox;
 
-       frame = gtk_frame_new("Extended dive info");
-       gtk_widget_show(frame);
-
        vbox = gtk_vbox_new(FALSE, 5);
-       gtk_container_add(GTK_CONTAINER(frame), vbox);
 
        location = text_entry(vbox, "Location", FALSE);
        notes = text_entry(vbox, "Notes", TRUE);
 
        /* Add extended info here: name, description, yadda yadda */
        update_dive_info(current_dive);
-       return frame;
+       return vbox;
 }