diff options
author | Rodney Dawes <dobey@novell.com> | 2005-05-25 02:23:22 +0800 |
---|---|---|
committer | Rodney Dawes <dobey@src.gnome.org> | 2005-05-25 02:23:22 +0800 |
commit | 535912e31198bd1de42f736c8631d15e49d71f49 (patch) | |
tree | c53166ea9908f3897fb32e2857e642855fa386e3 /mail/em-folder-selector.c | |
parent | 71529100f8d8f5b9e648fd4ec29f18a3a5e5400a (diff) | |
download | gsoc2013-evolution-535912e31198bd1de42f736c8631d15e49d71f49.tar.gz gsoc2013-evolution-535912e31198bd1de42f736c8631d15e49d71f49.tar.zst gsoc2013-evolution-535912e31198bd1de42f736c8631d15e49d71f49.zip |
Remove this unused method (emfs_response): Remove unused variable
2005-05-24 Rodney Dawes <dobey@novell.com>
* em-folder-selector.c (folder_created_cb): Remove this unused method
(emfs_response): Remove unused variable declarations
* em-folder-view.c (emfv_popup_{load_images,selectall}): Remove
these unused methods
* mail-component.c: Include em-folder-utils.h to fix warnings
svn path=/trunk/; revision=29409
Diffstat (limited to 'mail/em-folder-selector.c')
-rw-r--r-- | mail/em-folder-selector.c | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/mail/em-folder-selector.c b/mail/em-folder-selector.c index 73d0e75cb7..c0ba28d7f4 100644 --- a/mail/em-folder-selector.c +++ b/mail/em-folder-selector.c @@ -46,6 +46,7 @@ #include "em-folder-tree.h" #include "em-folder-selector.h" +#include "em-folder-utils.h" #define d(x) @@ -133,31 +134,8 @@ em_folder_selector_finalize (GObject *obj) } static void -folder_created_cb (EMFolderTreeModel *model, const char *path, const char *uri, EMFolderSelector *emfs) -{ - CamelException ex; - CamelStore *store; - - camel_exception_init (&ex); - if (!(store = (CamelStore *) camel_session_get_service (session, uri, CAMEL_PROVIDER_STORE, &ex))) - return; - - if (camel_store_folder_uri_equal (store, emfs->created_uri, uri)) { - em_folder_tree_set_selected (emfs->emft, uri); - g_signal_handler_disconnect (model, emfs->created_id); - emfs->created_id = 0; - } - - camel_object_unref (store); -} - -static void emfs_response (GtkWidget *dialog, int response, EMFolderSelector *emfs) { - EMFolderTreeModel *model; - const char *path, *uri; - EMFolderTree *emft; - if (response != EM_FOLDER_SELECTOR_RESPONSE_NEW) return; |