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:
@ -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
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user