[Xfce4-commits] [xfce/xfdesktop] 01/01: Remove unused code
noreply at xfce.org
noreply at xfce.org
Sun Jun 11 09:21:19 CEST 2017
This is an automated email from the git hooks/post-receive script.
e r i c p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/xfdesktop.
commit 716b49b9a69f176e2f72923734fe11da1f0b4d02
Author: Eric Koegel <eric.koegel at gmail.com>
Date: Sat Jun 10 07:31:17 2017 +0300
Remove unused code
Thanks to ToZ for pointing it out!
---
src/main.c | 28 ----------------------------
1 file changed, 28 deletions(-)
diff --git a/src/main.c b/src/main.c
index a2b552b..21f8759 100644
--- a/src/main.c
+++ b/src/main.c
@@ -28,30 +28,6 @@
#include <config.h>
#endif
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
-
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-
-#ifdef HAVE_STRING_H
-#include <string.h>
-#endif
-
-#ifdef HAVE_SIGNAL_H
-#include <signal.h>
-#endif
-
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-
-#ifdef ENABLE_FILE_ICONS
-#include <dbus/dbus-glib.h>
-#endif
-
#include <gtk/gtk.h>
#include <libxfce4util/libxfce4util.h>
@@ -77,10 +53,6 @@ main(int argc, char **argv)
/* bind gettext textdomain */
xfce_textdomain(GETTEXT_PACKAGE, LOCALEDIR, "UTF-8");
-#ifdef ENABLE_FILE_ICONS
- dbus_g_thread_init();
-#endif
-
app = xfdesktop_application_get();
ret = xfdesktop_application_run(app, argc, argv);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list