From 6138d151e9156bdf15843b1b54104428c5124e38 Mon Sep 17 00:00:00 2001 From: Nathan Samson Date: Sun, 4 Sep 2011 19:01:30 +0200 Subject: Remove the redundant frames in the notebook. Closes #9 Signed-off-by: Nathan Samson --- profile.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'profile.c') diff --git a/profile.c b/profile.c index 7a0a20828..070e6fa70 100644 --- a/profile.c +++ b/profile.c @@ -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; } -- cgit v1.2.3-70-g09d2