diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ChangeLog | 7 | ||||
-rw-r--r-- | shell/e-shell-view.c | 2 | ||||
-rw-r--r-- | shell/e-uri-schema-registry.c | 2 |
3 files changed, 10 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index adc31f15a4..cef7403ba9 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,5 +1,12 @@ 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 gtk_main_quit(). (shell_weak_notify): Likewise. diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index 836ce0c9bc..0b48bc3c2c 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -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; diff --git a/shell/e-uri-schema-registry.c b/shell/e-uri-schema-registry.c index c52c1e97db..57784c6e49 100644 --- a/shell/e-uri-schema-registry.c +++ b/shell/e-uri-schema-registry.c @@ -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); } |