diff options
author | raveit65 <[email protected]> | 2013-07-30 16:10:58 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2013-07-30 16:10:58 +0200 |
commit | 5f09ce6843a1d1a96db95a1d9fe487d4a2afb4d7 (patch) | |
tree | 7e2e5f34ad26083c80201bfa836f67a88effc48d /src | |
parent | 21f1837929f4e7416ffac87c019e96baef7a8cc0 (diff) | |
download | mate-user-share-5f09ce6843a1d1a96db95a1d9fe487d4a2afb4d7.tar.bz2 mate-user-share-5f09ce6843a1d1a96db95a1d9fe487d4a2afb4d7.tar.xz |
Require dbus >= 1.1.1
Diffstat (limited to 'src')
-rw-r--r-- | src/http.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -26,10 +26,7 @@ #include <glib.h> #include <glib/gi18n.h> #include <X11/Xlib.h> - -#ifdef HAVE_DBUS_1_1 #include <dbus/dbus.h> -#endif #include <gio/gio.h> @@ -57,9 +54,7 @@ #define GSETTINGS_SCHEMA "org.mate.FileSharing" -#ifdef HAVE_DBUS_1_1 static char *dbus_session_id; -#endif static pid_t httpd_pid = 0; @@ -155,7 +150,6 @@ get_share_name (void) return name; } -#ifdef HAVE_DBUS_1_1 static void init_dbus() { /* The only use we make of D-BUS is to fetch the session BUS ID so we can export @@ -190,7 +184,6 @@ init_dbus() { dbus_connection_close(connection); dbus_connection_unref(connection); } -#endif static void ensure_conf_dir (void) @@ -470,9 +463,7 @@ http_down (void) gboolean http_init (void) { -#ifdef HAVE_DBUS_1_1 init_dbus(); -#endif return TRUE; } |