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 5042328..9170c05 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 068f8bb..908ffa4 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 9d49d4f..fab6703 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)