aboutsummaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
authorGravatar Nathan Samson <nathansamson@gmail.com>2011-09-04 19:01:30 +0200
committerGravatar Nathan Samson <nathansamson@gmail.com>2011-09-04 19:01:30 +0200
commit6138d151e9156bdf15843b1b54104428c5124e38 (patch)
treefe23a930108345a9b7cb9edd6bcd08d6054814e6 /profile.c
parent1117cd37d71e294069a670bdf0851041575e0d5f (diff)
downloadsubsurface-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.c8
1 files changed, 2 insertions, 6 deletions
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;
}