diff options
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r-- | shell/e-shell.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c index 99be4848bf..95556a4528 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -710,6 +710,9 @@ e_shell_construct (EShell *shell, } else { splash = e_splash_new (); gtk_widget_show (splash); + + /* Keep our own reference */ + gtk_object_ref (GTK_OBJECT (splash)); } while (gtk_events_pending ()) @@ -753,6 +756,7 @@ e_shell_construct (EShell *shell, g_free (shortcut_path); sleep (2); + gtk_widget_unref (splash); gtk_widget_destroy (splash); return TRUE; |