aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>2009-10-06 13:54:32 +0000
committerkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>2009-10-06 13:54:32 +0000
commitc72f9e6a921e79dbb361db223a3b74c6e0d5d267 (patch)
treec28a66d3ae7374e2ce29d677c0dc02a32377464c /gtk
parentb31b51578c9cffcbdad1496a973ec7ac1c43191a (diff)
Make splash_destroy() return a gboolean
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30364 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk')
-rw-r--r--gtk/about_dlg.c5
-rw-r--r--gtk/about_dlg.h6
2 files changed, 6 insertions, 5 deletions
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.
*