[gnome-user-share] webdav: remove unused code



commit 8f092f60e814edd7914df95220bcaf2e7497565f
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Nov 10 03:14:20 2014 -0800

    webdav: remove unused code
    
    https://bugzilla.gnome.org/show_bug.cgi?id=739872

 src/http.c              |    6 ------
 src/http.h              |    1 -
 src/user_share-webdav.c |    3 ---
 3 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/src/http.c b/src/http.c
index 0e7f9df..7137aba 100644
--- a/src/http.c
+++ b/src/http.c
@@ -418,12 +418,6 @@ http_down (void)
        kill_httpd ();
 }
 
-gboolean
-http_init (void)
-{
-       return TRUE;
-}
-
 pid_t
 http_get_pid (void)
 {
diff --git a/src/http.h b/src/http.h
index 68955d8..45eb91b 100644
--- a/src/http.h
+++ b/src/http.h
@@ -23,6 +23,5 @@
 
 void http_up (void);
 void http_down (void);
-gboolean http_init (void);
 pid_t http_get_pid (void);
 
diff --git a/src/user_share-webdav.c b/src/user_share-webdav.c
index 7cb0ace..f4f99a8 100644
--- a/src/user_share-webdav.c
+++ b/src/user_share-webdav.c
@@ -141,9 +141,6 @@ main (int argc, char **argv)
        x_fd = ConnectionNumber (xdisplay);
        XSetIOErrorHandler (x_io_error_handler);
 
-       if (http_init () == FALSE)
-               return 1;
-
        settings = g_settings_new (GNOME_USER_SHARE_SCHEMAS);
        g_signal_connect (settings, "changed", G_CALLBACK(setttings_changed), NULL);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]