diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-shell.c | 10 | ||||
-rw-r--r-- | src/ephy-spinner-action.c | 2 |
2 files changed, 4 insertions, 8 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; } diff --git a/src/ephy-spinner-action.c b/src/ephy-spinner-action.c index 3e990f49b..84d0e3cee 100644 --- a/src/ephy-spinner-action.c +++ b/src/ephy-spinner-action.c @@ -95,7 +95,7 @@ create_tool_item (EggAction *action) gtk_widget_show (button); gtk_container_add (GTK_CONTAINER (item), button); spinner = ephy_spinner_new (); - ephy_spinner_set_small_mode (EPHY_SPINNER (spinner), TRUE); + ephy_spinner_set_small_mode (spinner, TRUE); gtk_container_add (GTK_CONTAINER (button), spinner); egg_tool_item_set_pack_end (EGG_TOOL_ITEM (item), TRUE); egg_tool_item_set_homogeneous (EGG_TOOL_ITEM (item), FALSE); |