diff options
author | Nathan Samson <nathansamson@gmail.com> | 2011-09-04 19:01:30 +0200 |
---|---|---|
committer | Nathan Samson <nathansamson@gmail.com> | 2011-09-04 19:01:30 +0200 |
commit | 6138d151e9156bdf15843b1b54104428c5124e38 (patch) | |
tree | fe23a930108345a9b7cb9edd6bcd08d6054814e6 /profile.c | |
parent | 1117cd37d71e294069a670bdf0851041575e0d5f (diff) | |
download | subsurface-6138d151e9156bdf15843b1b54104428c5124e38.tar.gz |
Remove the redundant frames in the notebook. Closes #9
Signed-off-by: Nathan Samson <nathansamson@gmail.com>
Diffstat (limited to 'profile.c')
-rw-r--r-- | profile.c | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -195,17 +195,13 @@ static gboolean expose_event(GtkWidget *widget, GdkEventExpose *event, gpointer return FALSE; } -GtkWidget *dive_profile_frame(void) +GtkWidget *dive_profile_widget(void) { - GtkWidget *frame; GtkWidget *da; - frame = gtk_frame_new("Dive profile"); - gtk_widget_show(frame); da = gtk_drawing_area_new(); gtk_widget_set_size_request(da, 450, 350); g_signal_connect(da, "expose_event", G_CALLBACK(expose_event), NULL); - gtk_container_add(GTK_CONTAINER(frame), da); - return frame; + return da; } |