diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-15 07:36:52 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-15 07:36:52 +0800 |
commit | c27902bcebc0ce445bb19bd315f40f5d672ace20 (patch) | |
tree | db2b651e839a47c371b35ccce76db9f02d9d1d87 | |
parent | 4ff0a43cd48adc7cdc98be078cdfbc425aa7e8b0 (diff) | |
download | gsoc2013-evolution-c27902bcebc0ce445bb19bd315f40f5d672ace20.tar gsoc2013-evolution-c27902bcebc0ce445bb19bd315f40f5d672ace20.tar.gz gsoc2013-evolution-c27902bcebc0ce445bb19bd315f40f5d672ace20.tar.bz2 gsoc2013-evolution-c27902bcebc0ce445bb19bd315f40f5d672ace20.tar.lz gsoc2013-evolution-c27902bcebc0ce445bb19bd315f40f5d672ace20.tar.xz gsoc2013-evolution-c27902bcebc0ce445bb19bd315f40f5d672ace20.tar.zst gsoc2013-evolution-c27902bcebc0ce445bb19bd315f40f5d672ace20.zip |
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
-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); } |