aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-storage.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-storage.c')
-rw-r--r--shell/e-storage.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/shell/e-storage.c b/shell/e-storage.c
index f1cdb26036..c9af5445b2 100644
--- a/shell/e-storage.c
+++ b/shell/e-storage.c
@@ -87,7 +87,7 @@ folder_destroy_notify (EFolderTree *tree,
}
e_folder = E_FOLDER (data);
- gtk_object_unref (GTK_OBJECT (e_folder));
+ g_object_unref (e_folder);
}
@@ -710,9 +710,7 @@ e_storage_new_folder (EStorage *storage,
}
g_free (parent_path);
- gtk_signal_connect_while_alive (GTK_OBJECT (e_folder), "changed",
- GTK_SIGNAL_FUNC (folder_changed_cb), storage,
- GTK_OBJECT (storage));
+ g_signal_connect_object (e_folder, "changed", G_CALLBACK (folder_changed_cb), storage, 0);
gtk_signal_emit (GTK_OBJECT (storage), signals[NEW_FOLDER], path);