Ref/sink the GtkTooltips.

* e-shell-view.c (init): Ref/sink the GtkTooltips.

* e-uri-schema-registry.c (schema_handler_free): g_object_unref()
on the component instead of bonobo_object_unref().

svn path=/trunk/; revision=18765
This commit is contained in:
Ettore Perazzoli
2002-11-14 23:36:52 +00:00
parent 4ff0a43cd4
commit c27902bceb
3 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2002-11-14 Ettore Perazzoli <ettore@ximian.com>
* e-shell-view.c (init): Ref/sink the GtkTooltips.
* e-uri-schema-registry.c (schema_handler_free): g_object_unref()
on the component instead of bonobo_object_unref().
2002-11-14 Ettore Perazzoli <ettore@ximian.com>
* main.c (no_views_left_cb): Use bonobo_main_quit() instead of

View File

@ -1487,6 +1487,8 @@ init (EShellView *shell_view)
priv->delayed_selection = NULL;
priv->tooltips = gtk_tooltips_new ();
g_object_ref (priv->tooltips);
gtk_object_sink (GTK_OBJECT (priv->tooltips));
priv->appbar = NULL;
priv->hpaned = NULL;

View File

@ -64,7 +64,7 @@ static void
schema_handler_free (SchemaHandler *handler)
{
g_free (handler->schema);
bonobo_object_unref (BONOBO_OBJECT (handler->component));
g_object_unref (handler->component);
g_free (handler);
}