diff src/gtkmain.c @ 11055:df0241eb602c

[gaim-migrate @ 12996] Added preliminary DBUS support to gaim, the details are described in README.dbus. committer: Tailor Script <tailor@pidgin.im>
author Piotr Zielinski <zielaj>
date Sun, 03 Jul 2005 21:48:56 +0000
parents 50224ac8184d
children 2eca9ed49469
line wrap: on
line diff
--- a/src/gtkmain.c	Sun Jul 03 06:42:16 2005 +0000
+++ b/src/gtkmain.c	Sun Jul 03 21:48:56 2005 +0000
@@ -71,6 +71,11 @@
 # include <gdk/gdkx.h>
 #endif
 
+#ifdef HAVE_DBUS
+#  include "dbus-server.h"
+#endif
+
+
 #ifdef HAVE_STARTUP_NOTIFICATION
 static SnLauncheeContext *sn_context = NULL;
 static SnDisplay *sn_display = NULL;
@@ -715,6 +720,11 @@
 	gaim_debug_register_category("server");
 	gaim_debug_register_category("stringref");
 
+#ifdef HAVE_DBUS
+	/* Starting DBUS */
+	dbus_server_init();
+#endif
+
 	gtk_main();
 
 #ifdef _WIN32