diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-15 07:08:29 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-15 07:08:29 +0800 |
commit | 334b42bda165b9cfd18f60f60742f850f9154c2e (patch) | |
tree | a053bcb55aba50c9034752bccac043f4272c29e7 /shell/main.c | |
parent | a68ff6bc2f3070cc852456c18d9edfecb31b183c (diff) | |
download | gsoc2013-evolution-334b42bda165b9cfd18f60f60742f850f9154c2e.tar.gz gsoc2013-evolution-334b42bda165b9cfd18f60f60742f850f9154c2e.tar.zst gsoc2013-evolution-334b42bda165b9cfd18f60f60742f850f9154c2e.zip |
Use bonobo_main_quit() instead of gtk_main_quit(). (shell_weak_notify):
* main.c (no_views_left_cb): Use bonobo_main_quit() instead of
gtk_main_quit().
(shell_weak_notify): Likewise.
(idle_cb): Likewise.
* e-shell.c (notify_no_views_left_idle_cb): New idle function to
emit the "no_views_left" signal.
(view_weak_notify): Put it on the idle loop instead of firing the
signal here.
* e-task-widget.c (e_task_widget_construct): Ref/sink the
GtkTooltips object.
svn path=/trunk/; revision=18763
Diffstat (limited to 'shell/main.c')
-rw-r--r-- | shell/main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/shell/main.c b/shell/main.c index 36a5648763..0e09e8338f 100644 --- a/shell/main.c +++ b/shell/main.c @@ -170,14 +170,14 @@ no_views_left_cb (EShell *shell, gpointer data) if (quit_box != NULL) gtk_widget_destroy (quit_box); - gtk_main_quit (); + bonobo_main_quit (); } static void shell_weak_notify (void *data, GObject *where_the_object_was) { - gtk_main_quit (); + bonobo_main_quit (); } @@ -376,7 +376,7 @@ idle_cb (void *data) e_notice (NULL, GNOME_MESSAGE_BOX_ERROR, _("Cannot access the Ximian Evolution shell.")); CORBA_exception_free (&ev); - gtk_main_quit (); + bonobo_main_quit (); return FALSE; } break; @@ -386,7 +386,7 @@ idle_cb (void *data) _("Cannot initialize the Ximian Evolution shell: %s"), e_shell_construct_result_to_string (result)); CORBA_exception_free (&ev); - gtk_main_quit (); + bonobo_main_quit (); return FALSE; } @@ -456,7 +456,7 @@ idle_cb (void *data) CORBA_exception_free (&ev); if (shell == NULL) - gtk_main_quit (); + bonobo_main_quit (); return FALSE; } |