managesieve: remove unused function sieve_session_add_script
authorCharles Lehner <cel@celehner.com>
Fri, 17 Jul 2015 04:00:53 +0000 (00:00 -0400)
committerCharles Lehner <cel@celehner.com>
Fri, 17 Jul 2015 04:00:53 +0000 (00:00 -0400)
src/plugins/managesieve/managesieve.c
src/plugins/managesieve/managesieve.h
src/plugins/managesieve/sieve_manager.c

index 5042328fa8d35a747f8617d8e8ba56c2e6d3bd1e..9170c05df27323460eb8b2b93bdea16e7e2fefd8 100644 (file)
@@ -976,15 +976,6 @@ void sieve_session_list_scripts(SieveSession *session,
        sieve_queue_send(session, SIEVE_LISTSCRIPTS, msg, cb, data);
 }
 
-void sieve_session_add_script(SieveSession *session, const gchar *filter_name,
-               sieve_session_data_cb_fn cb, gpointer data)
-{
-/*
-       gchar *msg = g_strdup("LISTSCRIPTS");
-       sieve_queue_send(session, SIEVE_LISTSCRIPTS, msg, cb, data);
-*/
-}
-
 void sieve_session_set_active_script(SieveSession *session,
                const gchar *filter_name,
                sieve_session_data_cb_fn cb, gpointer data)
index 068f8bba3cb9a840f658cd28769f7cacbc9f3e33..908ffa4fe1dea3d90116a729ccea0655715c4f7a 100644 (file)
@@ -172,8 +172,6 @@ void sieve_session_handle_status(SieveSession *session,
                gpointer data);
 void sieve_session_list_scripts(SieveSession *session,
                sieve_session_data_cb_fn got_script_name_cb, gpointer data);
-void sieve_session_add_script(SieveSession *session, const gchar *filter_name,
-               sieve_session_data_cb_fn cb, gpointer data);
 void sieve_session_set_active_script(SieveSession *session,
                const gchar *filter_name,
                sieve_session_data_cb_fn cb, gpointer data);
index 9d49d4f93e4f6ced6382b626f451ab4d8cc0764a..fab67035aa4f8846a86cb816cc22bdf02dd0b43b 100644 (file)
@@ -153,10 +153,6 @@ static void filter_add(GtkWidget *widget, SieveManagerPage *page)
                return;
 
        sieve_editor_show(sieve_editor_new(session, filter_name));
-       /*
-       sieve_session_add_script(session, filter_name
-                       (sieve_session_data_cb_fn)filter_added, (gpointer)page);
-                       */
 }
 
 static void filter_got_load_error(SieveSession *session, gpointer data)