From c72f9e6a921e79dbb361db223a3b74c6e0d5d267 Mon Sep 17 00:00:00 2001 From: krj Date: Tue, 6 Oct 2009 13:54:32 +0000 Subject: Make splash_destroy() return a gboolean git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30364 f5534014-38df-0310-8fa8-9805f1628bb7 --- gtk/about_dlg.c | 5 +++-- gtk/about_dlg.h | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'gtk') diff --git a/gtk/about_dlg.c b/gtk/about_dlg.c index 0848461410..5d41e166e3 100644 --- a/gtk/about_dlg.c +++ b/gtk/about_dlg.c @@ -267,10 +267,11 @@ splash_update(register_action_e action, const char *message, gpointer client_dat } -guint +gboolean splash_destroy(GtkWidget *win) { - if (win == NULL) return FALSE; + if (win == NULL) + return FALSE; gtk_widget_destroy(win); return FALSE; diff --git a/gtk/about_dlg.h b/gtk/about_dlg.h index 180ca01702..59db16f2f4 100644 --- a/gtk/about_dlg.h +++ b/gtk/about_dlg.h @@ -30,7 +30,7 @@ * @ingroup dialog_group */ -/** Create a splash screen showed when Wireshark is started. +/** Create a splash screen showed when Wireshark is started. * * @param message the new message to be displayed * @return the newly created window handle @@ -45,12 +45,12 @@ extern GtkWidget *splash_new(const char *message); */ extern void splash_update(register_action_e action, const char *message, void *call_data); -/** Destroy the splash screen. +/** Destroy the splash screen. * * @param win the window handle from splash_new() * @return always FALSE, so this function can be used as a callback for gtk_timeout_add() */ -extern guint splash_destroy(GtkWidget *win); +extern gboolean splash_destroy(GtkWidget *win); /** User requested the "About" dialog box by menu or toolbar. * -- cgit v1.2.3