diff src/core.c @ 11171:ebb02ea3c789

[gaim-migrate @ 13272] Moved DBUS init call from gtkmain.c to core.c Reimplemented DBUS bindings mechamism to use low-level GLib bindings as described in my last blog entry. This way plugins can add new DBUS methods on the fly. Also wrote an example plugin that demonstrate how to do it. committer: Tailor Script <tailor@pidgin.im>
author Piotr Zielinski <zielaj>
date Sat, 30 Jul 2005 00:23:21 +0000
parents 50224ac8184d
children bb0d7b719af2
line wrap: on
line diff
--- a/src/core.c	Fri Jul 29 13:38:00 2005 +0000
+++ b/src/core.c	Sat Jul 30 00:23:21 2005 +0000
@@ -40,6 +40,11 @@
 #include "status.h"
 #include "sound.h"
 
+#ifdef HAVE_DBUS
+#  include "dbus-server.h"
+#endif
+
+
 struct GaimCore
 {
 	char *ui;
@@ -89,6 +94,10 @@
 
 	gaim_debug_register_category("main");
 
+#ifdef HAVE_DBUS
+	gaim_dbus_init();
+#endif
+
 	/* Initialize all static protocols. */
 	static_proto_init();