aboutsummaryrefslogtreecommitdiffstats
path: root/wombat
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-07-10 17:30:28 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2000-07-10 17:30:28 +0800
commit84ba8642c55c514b7fe23aa90fabdbd0d90250ab (patch)
tree54fe069a02cf1ea69f6ee237221ef3c919ff46e7 /wombat
parentf587f3d4a5643c1ebe5aa7be2883fa1137b6645f (diff)
downloadgsoc2013-evolution-84ba8642c55c514b7fe23aa90fabdbd0d90250ab.tar
gsoc2013-evolution-84ba8642c55c514b7fe23aa90fabdbd0d90250ab.tar.gz
gsoc2013-evolution-84ba8642c55c514b7fe23aa90fabdbd0d90250ab.tar.bz2
gsoc2013-evolution-84ba8642c55c514b7fe23aa90fabdbd0d90250ab.tar.lz
gsoc2013-evolution-84ba8642c55c514b7fe23aa90fabdbd0d90250ab.tar.xz
gsoc2013-evolution-84ba8642c55c514b7fe23aa90fabdbd0d90250ab.tar.zst
gsoc2013-evolution-84ba8642c55c514b7fe23aa90fabdbd0d90250ab.zip
As a quasi-hack, do a gdk_flush() when the shell view is unrealized so
2000-07-10 Federico Mena Quintero <federico@helixcode.com> * e-shell-view.c (unrealize): As a quasi-hack, do a gdk_flush() when the shell view is unrealized so that the DeleteEvent gets sent to the remote plugs as soon as possible before we start making other CORBA calls. The problem is that our CORBA pipe is synchronous while our X pipe is asynch. We have to ensure ordering for certain operations. This is NOT the correct and complete fix, which should go in Bonobo. svn path=/trunk/; revision=4030
Diffstat (limited to 'wombat')
-rw-r--r--wombat/wombat.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/wombat/wombat.c b/wombat/wombat.c
index 0d5b8b7a01..1db39e5673 100644
--- a/wombat/wombat.c
+++ b/wombat/wombat.c
@@ -40,8 +40,10 @@ static gboolean
termination_handler (gpointer data)
{
if (cal_factory_get_n_backends (cal_factory) == 0
- && pas_book_factory_get_n_backends (pas_book_factory) == 0)
+ && pas_book_factory_get_n_backends (pas_book_factory) == 0) {
+ fprintf (stderr, "termination_handler(): Terminating the Wombat. Have a nice day.\n");
gtk_main_quit ();
+ }
termination_handler_id = 0;
return FALSE;
@@ -94,6 +96,7 @@ setup_pas (int argc, char **argv)
static void
last_calendar_gone_cb (CalFactory *factory, gpointer data)
{
+ fprintf (stderr, "last_calendar_gone_cb() called! Queueing termination...\n");
queue_termination ();
}