diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2012-12-09 16:16:35 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-12-09 16:16:35 -0800 |
commit | 54919c1c4ec94cd21150c5320fa0956d13df5904 (patch) | |
tree | e831df08a95bc0ae8078e15b9aa92ebcb0466e44 /statistics.c | |
parent | f9f1a5fe6bc21f38cacf34e4385516cd0cc19896 (diff) | |
download | subsurface-54919c1c4ec94cd21150c5320fa0956d13df5904.tar.gz |
Rename on_delete function in statistics.c
We made the one in gtk-gui.c a global function and now had a clash with
the static one in statistics.c
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'statistics.c')
-rw-r--r-- | statistics.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/statistics.c b/statistics.c index a946d500b..63079a51c 100644 --- a/statistics.c +++ b/statistics.c @@ -317,7 +317,7 @@ void clear_statistics() yearly_tree = NULL; } -static gboolean on_delete(GtkWidget *window, GdkEvent *event, gpointer data) +static gboolean stat_on_delete(GtkWidget *window, GdkEvent *event, gpointer data) { clear_statistics(); gtk_widget_destroy(window); @@ -382,7 +382,7 @@ void show_yearly_stats() update_yearly_stats(); g_signal_connect (G_OBJECT (window), "key_press_event", G_CALLBACK (key_press_event), NULL); - g_signal_connect (G_OBJECT (window), "delete-event", G_CALLBACK (on_delete), NULL); + g_signal_connect (G_OBJECT (window), "delete-event", G_CALLBACK (stat_on_delete), NULL); gtk_widget_show_all(window); } |