aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-storage-set.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-11-04 22:53:49 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-11-04 22:53:49 +0800
commit427c7a92282a6ee8def483774f8655648d2e6564 (patch)
treee120435dfe9d61688df3f77740eeb4562639a2df /shell/e-storage-set.c
parent317b30ce9e92f0e9c18e4905cd6b8ae1e28b3602 (diff)
downloadgsoc2013-evolution-427c7a92282a6ee8def483774f8655648d2e6564.tar.gz
gsoc2013-evolution-427c7a92282a6ee8def483774f8655648d2e6564.tar.zst
gsoc2013-evolution-427c7a92282a6ee8def483774f8655648d2e6564.zip
Replace gtk_signal_emit() with g_signal_emit(). Likewise. Likewise.
* e-folder-list.c: Replace gtk_signal_emit() with g_signal_emit(). * e-folder.c: Likewise. * e-shell-folder-selection-dialog.c: Likewise. * e-shell-folder-title-bar.c: Likewise. * e-shell-offline-handler.c: Likewise. * e-shell-view.c: Likewise. * e-shortcuts-view.c: Likewise. * e-shortcuts.c: Likewise. * e-storage-set-view.c: Likewise. * e-storage-set.c: Likewise. * e-storage.c: Likewise. * evolution-activity-client.c: Likewise. * evolution-folder-selector-button.c: Likewise. * evolution-storage-listener.c: Likewise. * evolution-storage-set-view-listener.c: Likewise. svn path=/trunk/; revision=18524
Diffstat (limited to 'shell/e-storage-set.c')
-rw-r--r--shell/e-storage-set.c22
1 files changed, 10 insertions, 12 deletions
diff --git a/shell/e-storage-set.c b/shell/e-storage-set.c
index d6b4ea1366..3a105b924b 100644
--- a/shell/e-storage-set.c
+++ b/shell/e-storage-set.c
@@ -170,10 +170,8 @@ storage_callback (EStorage *storage,
storage_callback_data->data);
if (storage_callback_data->operation == OPERATION_MOVE)
- gtk_signal_emit (GTK_OBJECT (storage_callback_data->storage_set),
- signals[MOVED_FOLDER],
- storage_callback_data->source_path,
- storage_callback_data->destination_path);
+ g_signal_emit (storage_callback_data->storage_set, signals[MOVED_FOLDER], 0,
+ storage_callback_data->source_path, storage_callback_data->destination_path);
storage_callback_data_free (storage_callback_data);
}
@@ -214,7 +212,7 @@ storage_new_folder_cb (EStorage *storage,
storage_set = E_STORAGE_SET (data);
full_path = make_full_path (storage, path);
- gtk_signal_emit (GTK_OBJECT (storage_set), signals[NEW_FOLDER], full_path);
+ g_signal_emit (storage_set, signals[NEW_FOLDER], 0, full_path);
g_free (full_path);
}
@@ -229,7 +227,7 @@ storage_updated_folder_cb (EStorage *storage,
storage_set = E_STORAGE_SET (data);
full_path = make_full_path (storage, path);
- gtk_signal_emit (GTK_OBJECT (storage_set), signals[UPDATED_FOLDER], full_path);
+ g_signal_emit (storage_set, signals[UPDATED_FOLDER], 0, full_path);
g_free (full_path);
}
@@ -244,7 +242,7 @@ storage_removed_folder_cb (EStorage *storage,
storage_set = E_STORAGE_SET (data);
full_path = make_full_path (storage, path);
- gtk_signal_emit (GTK_OBJECT (storage_set), signals[REMOVED_FOLDER], full_path);
+ g_signal_emit (storage_set, signals[REMOVED_FOLDER], 0, full_path);
g_free (full_path);
}
@@ -259,7 +257,7 @@ storage_close_folder_cb (EStorage *storage,
storage_set = E_STORAGE_SET (data);
full_path = make_full_path (storage, path);
- gtk_signal_emit (GTK_OBJECT (storage_set), signals[CLOSE_FOLDER], full_path);
+ g_signal_emit (storage_set, signals[CLOSE_FOLDER], 0, full_path);
g_free (full_path);
}
@@ -310,7 +308,7 @@ signal_new_folder_for_all_folders_under_paths (EStorageSet *storage_set,
path = (const char *) p->data;
path_with_storage = g_strconcat (E_PATH_SEPARATOR_S, e_storage_get_name (storage), path, NULL);
- gtk_signal_emit (GTK_OBJECT (storage_set), signals[NEW_FOLDER], path_with_storage);
+ g_signal_emit (storage_set, signals[NEW_FOLDER], 0, path_with_storage);
g_free (path_with_storage);
sub_path_list = e_storage_get_subfolder_paths (storage, path);
@@ -534,7 +532,7 @@ e_storage_set_add_storage (EStorageSet *storage_set,
named_storage = named_storage_new (storage);
g_hash_table_insert (priv->name_to_named_storage, named_storage->name, named_storage);
- gtk_signal_emit (GTK_OBJECT (storage_set), signals[NEW_STORAGE], storage);
+ g_signal_emit (storage_set, signals[NEW_STORAGE], 0, storage);
signal_new_folder_for_all_folders_in_storage (storage_set, storage);
@@ -565,7 +563,7 @@ e_storage_set_remove_storage (EStorageSet *storage_set,
priv->storages = g_list_remove (priv->storages, storage);
- gtk_signal_emit (GTK_OBJECT (storage_set), signals[REMOVED_STORAGE], storage);
+ g_signal_emit (storage_set, signals[REMOVED_STORAGE], 0, storage);
g_object_unref (storage);
return TRUE;
@@ -587,7 +585,7 @@ e_storage_set_remove_all_storages (EStorageSet *storage_set)
storage = E_STORAGE (p->data);
- gtk_signal_emit (GTK_OBJECT (storage_set), signals[REMOVED_STORAGE], storage);
+ g_signal_emit (storage_set, signals[REMOVED_STORAGE], 0, storage);
g_object_unref (storage);
}