summaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
authorGravatar Nathan Samson <nathansamson@gmail.com>2011-09-04 22:15:55 +0200
committerGravatar Nathan Samson <nathansamson@gmail.com>2011-09-04 22:15:55 +0200
commit6b075e0339f419555f08ece3a6c4a29407ecc32b (patch)
treec8c9df6d8690edddec8da8f8f3a87123f86dead0 /profile.c
parentc4514b062a9866153c179d4b6ecf7972c9496891 (diff)
parentaab4d593bdbffef8442282318778a9833cbc7a43 (diff)
downloadsubsurface-6b075e0339f419555f08ece3a6c4a29407ecc32b.tar.gz
Merge hbonse's UI tweaks, but fixing the compile warnings. Also bringing it up to date with the master (and my own UI improvements)
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 c0313032d..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;
}