aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shortcuts.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shortcuts.c')
-rw-r--r--shell/e-shortcuts.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/shell/e-shortcuts.c b/shell/e-shortcuts.c
index ee07e3ebd8..efa0ce01f9 100644
--- a/shell/e-shortcuts.c
+++ b/shell/e-shortcuts.c
@@ -764,12 +764,10 @@ e_shortcuts_construct (EShortcuts *shortcuts,
storage_set = e_shell_get_storage_set (shell);
- gtk_signal_connect_while_alive (GTK_OBJECT (storage_set), "new_folder",
- GTK_SIGNAL_FUNC (storage_set_new_folder_callback),
- shortcuts, GTK_OBJECT (shortcuts));
- gtk_signal_connect_while_alive (GTK_OBJECT (storage_set), "updated_folder",
- GTK_SIGNAL_FUNC (storage_set_updated_folder_callback),
- shortcuts, GTK_OBJECT (shortcuts));
+ g_signal_connect_object (storage_set, "new_folder",
+ G_CALLBACK (storage_set_new_folder_callback), shortcuts, 0);
+ g_signal_connect_object (storage_set, "updated_folder",
+ G_CALLBACK (storage_set_updated_folder_callback), shortcuts, 0);
}
EShortcuts *