aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodney Dawes <dobey@novell.com>2005-05-25 02:23:22 +0800
committerRodney Dawes <dobey@src.gnome.org>2005-05-25 02:23:22 +0800
commit535912e31198bd1de42f736c8631d15e49d71f49 (patch)
treec53166ea9908f3897fb32e2857e642855fa386e3
parent71529100f8d8f5b9e648fd4ec29f18a3a5e5400a (diff)
downloadgsoc2013-evolution-535912e31198bd1de42f736c8631d15e49d71f49.tar
gsoc2013-evolution-535912e31198bd1de42f736c8631d15e49d71f49.tar.gz
gsoc2013-evolution-535912e31198bd1de42f736c8631d15e49d71f49.tar.bz2
gsoc2013-evolution-535912e31198bd1de42f736c8631d15e49d71f49.tar.lz
gsoc2013-evolution-535912e31198bd1de42f736c8631d15e49d71f49.tar.xz
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
-rw-r--r--mail/ChangeLog10
-rw-r--r--mail/em-folder-selector.c24
-rw-r--r--mail/em-folder-view.c14
-rw-r--r--mail/mail-component.c1
4 files changed, 12 insertions, 37 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 713ff672da..a28a7f2d8d 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,13 @@
+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
+
2005-05-20 Not Zed <NotZed@Ximian.com>
* mail-component.c (mail_component_peek_session): add helper for
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;
diff --git a/mail/em-folder-view.c b/mail/em-folder-view.c
index f5f42eb7f9..e60d0e9a21 100644
--- a/mail/em-folder-view.c
+++ b/mail/em-folder-view.c
@@ -705,13 +705,6 @@ emfv_view_load_images(BonoboUIComponent *uic, void *data, const char *path)
}
static void
-emfv_popup_load_images(EPopup *ep, EPopupItem *pitem, void *data)
-{
- EMFolderView *emfv = data;
- emfv_view_load_images(NULL, data, NULL);
-}
-
-static void
emfv_popup_print(EPopup *ep, EPopupItem *pitem, void *data)
{
EMFolderView *emfv = data;
@@ -756,13 +749,6 @@ emfv_mail_compose(BonoboUIComponent *uid, void *data, const char *path)
}
static void
-emfv_popup_selectall(EPopup *ep, EPopupItem *pitem, void *data)
-{
- EMFolderView *emfv = data;
- gtk_html_select_all (((EMFormatHTML *)emfv->preview)->html);
-}
-
-static void
emfv_popup_reply_sender(EPopup *ep, EPopupItem *pitem, void *data)
{
EMFolderView *emfv = data;
diff --git a/mail/mail-component.c b/mail/mail-component.c
index a1945d4e9c..9b280a0839 100644
--- a/mail/mail-component.c
+++ b/mail/mail-component.c
@@ -43,6 +43,7 @@
#include "em-message-browser.h"
#include "em-folder-selector.h"
#include "em-folder-selection.h"
+#include "em-folder-utils.h"
#include "em-migrate.h"
#include "widgets/misc/e-info-label.h"