dbus: include config.h before anything and remove duplicated #define.
authorRémi Duraffort <ivoire@videolan.org>
Mon, 6 Oct 2008 18:29:53 +0000 (20:29 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Mon, 6 Oct 2008 18:29:53 +0000 (20:29 +0200)
modules/control/dbus.c
modules/control/dbus.h

index 3968742..972a19c 100644 (file)
  * Preamble
  *****************************************************************************/
 
-#include <dbus/dbus.h>
-
-#include "dbus.h"
-
 #ifdef HAVE_CONFIG_H
 # include "config.h"
 #endif
 
+#include <dbus/dbus.h>
+#include "dbus.h"
+
 #include <vlc_common.h>
 #include <vlc_plugin.h>
 #include <vlc_aout.h>
index b1093bd..929588b 100644 (file)
@@ -205,9 +205,6 @@ const char* psz_introspection_xml_data_tracklist =
 "</node>\n"
 ;
 
-#define MPRIS_DBUS_ROOT_PATH      "/"
-#define MPRIS_DBUS_PLAYER_PATH    "/Player"
-#define MPRIS_DBUS_TRACKLIST_PATH "/TrackList"
 
 /* Handle  messages reception */
 DBUS_METHOD( handle_root );