diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-01-21 20:33:23 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-01-21 20:33:23 +0800 |
commit | 3b1d26f1fd1107ed5196c8fb48dd40bbf888cda4 (patch) | |
tree | f3a6007429aee289b81f6fcc555ead9abfd83caf /src/ephy-shell.c | |
parent | 98a7051020195ab2b8a1174e60ab72e950dda42e (diff) | |
download | gsoc2013-epiphany-3b1d26f1fd1107ed5196c8fb48dd40bbf888cda4.tar gsoc2013-epiphany-3b1d26f1fd1107ed5196c8fb48dd40bbf888cda4.tar.gz gsoc2013-epiphany-3b1d26f1fd1107ed5196c8fb48dd40bbf888cda4.tar.bz2 gsoc2013-epiphany-3b1d26f1fd1107ed5196c8fb48dd40bbf888cda4.tar.lz gsoc2013-epiphany-3b1d26f1fd1107ed5196c8fb48dd40bbf888cda4.tar.xz gsoc2013-epiphany-3b1d26f1fd1107ed5196c8fb48dd40bbf888cda4.tar.zst gsoc2013-epiphany-3b1d26f1fd1107ed5196c8fb48dd40bbf888cda4.zip |
Api changes.
2003-01-21 Marco Pesenti Gritti <marco@it.gnome.org>
* embed/mozilla/BaseProtocolContentHandler.cpp:
* embed/mozilla/StartHereProtocolHandler.cpp:
Api changes.
* embed/ephy-embed-shell.c: (ephy_embed_shell_finalize):
* embed/ephy-favicon-cache.c: (ephy_favicon_cache_finalize):
* embed/ephy-history.c: (ephy_history_host_visited),
(ephy_history_set_page_title), (ephy_history_remove):
* lib/widgets/ephy-spinner.c: (ephy_spinner_expose),
(ephy_spinner_size_request):
* lib/widgets/ephy-spinner.h:
* src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_finalize):
* src/ephy-shell.c: (ephy_shell_finalize),
(ephy_shell_get_autocompletion):
* src/ephy-spinner-action.c: (create_tool_item):
Nicer spinner size. Fix references problem
and a lot of logs to make it easy to debug it.
Diffstat (limited to 'src/ephy-shell.c')
-rw-r--r-- | src/ephy-shell.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c index 11954632d..e07203775 100644 --- a/src/ephy-shell.c +++ b/src/ephy-shell.c @@ -231,6 +231,7 @@ ephy_shell_finalize (GObject *object) g_assert (ephy_shell == NULL); + LOG ("Unref session") if (gs->priv->session) { g_return_if_fail (IS_SESSION(gs->priv->session)); @@ -240,11 +241,13 @@ ephy_shell_finalize (GObject *object) g_object_unref (G_OBJECT (gs->priv->session)); } + LOG ("Unref autocompletion") if (gs->priv->autocompletion) { g_object_unref (gs->priv->autocompletion); } + LOG ("Unref bookmarks") if (gs->priv->bookmarks) { g_object_unref (gs->priv->bookmarks); @@ -510,20 +513,13 @@ ephy_shell_get_autocompletion (EphyShell *gs) EphyHistory *gh = ephy_embed_shell_get_global_history (EPHY_EMBED_SHELL (gs)); EphyBookmarks *bmk = ephy_shell_get_bookmarks (gs); - EphyFilesystemAutocompletion *fa = ephy_filesystem_autocompletion_new (); p->autocompletion = ephy_autocompletion_new (); ephy_autocompletion_set_prefixes (p->autocompletion, prefixes); ephy_autocompletion_add_source (p->autocompletion, EPHY_AUTOCOMPLETION_SOURCE (gh)); ephy_autocompletion_add_source (p->autocompletion, - EPHY_AUTOCOMPLETION_SOURCE (fa)); - ephy_autocompletion_add_source (p->autocompletion, EPHY_AUTOCOMPLETION_SOURCE (bmk)); - - g_object_unref (gh); - g_object_unref (fa); - g_object_unref (gs->priv->bookmarks); } return p->autocompletion; } |