X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=statistics.c;fp=statistics.c;h=5017fe0b2f7e8548501611f667d832105b435e36;hb=788ebc0500b12fb502b82473c1459ccca06345a5;hp=60b4776bce2f2f55e865f584843096ca5b781e45;hpb=68a1ff9cf56576ee3e3f32e08bc7f7ad2b03697f;p=ext%2Fsubsurface.git diff --git a/statistics.c b/statistics.c index 60b4776..5017fe0 100644 --- a/statistics.c +++ b/statistics.c @@ -242,10 +242,11 @@ static GtkWidget *new_info_label_in_frame(GtkWidget *box, const char *label) return label_widget; } -static GtkWidget *total_stats_widget(GtkWidget *vbox) +GtkWidget *total_stats_widget(void) { + GtkWidget *vbox, *hbox, *statsframe, *framebox; - GtkWidget *hbox, *statsframe, *framebox; + vbox = gtk_vbox_new(FALSE, 3); statsframe = gtk_frame_new("Statistics"); gtk_box_pack_start(GTK_BOX(vbox), statsframe, TRUE, FALSE, 3); @@ -272,9 +273,8 @@ static GtkWidget *total_stats_widget(GtkWidget *vbox) return vbox; } -static GtkWidget *single_stats_widget(void) +GtkWidget *single_stats_widget(void) { - GtkWidget *vbox, *hbox, *infoframe, *framebox; vbox = gtk_vbox_new(FALSE, 3); @@ -311,9 +311,3 @@ static GtkWidget *single_stats_widget(void) return vbox; } - -GtkWidget* stats_widget(void) -{ - GtkWidget *vbox = single_stats_widget(); - return total_stats_widget(vbox); -}