From 334b42bda165b9cfd18f60f60742f850f9154c2e Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Thu, 14 Nov 2002 23:08:29 +0000 Subject: 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 --- shell/e-task-widget.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'shell/e-task-widget.c') diff --git a/shell/e-task-widget.c b/shell/e-task-widget.c index cdbeb987e1..9adf84fe4b 100644 --- a/shell/e-task-widget.c +++ b/shell/e-task-widget.c @@ -170,6 +170,8 @@ e_task_widget_construct (ETaskWidget *task_widget, gdk_bitmap_unref (mask); priv->tooltips = gtk_tooltips_new (); + g_object_ref (priv->tooltips); + gtk_object_sink (GTK_OBJECT (priv->tooltips)); e_task_widget_update (task_widget, information, -1.0); } -- cgit v1.2.3