mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Remove the redundant frames in the notebook. Closes #9
Signed-off-by: Nathan Samson <nathansamson@gmail.com>
This commit is contained in:
parent
1117cd37d7
commit
6138d151e9
4 changed files with 11 additions and 20 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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue