libpurple/presence.c

changeset 39352
62bca2fe2e91
parent 38621
1412d6b993e9
child 39435
b30e04a71ecf
--- a/libpurple/presence.c	Tue Nov 27 17:52:15 2018 -0600
+++ b/libpurple/presence.c	Tue Oct 02 16:01:52 2018 -0500
@@ -21,7 +21,6 @@
 #include "internal.h"
 #include "glibcompat.h"
 #include "debug.h"
-#include "dbus-maybe.h"
 #include "presence.h"
 
 #define PURPLE_PRESENCE_GET_PRIVATE(obj) \
@@ -418,8 +417,6 @@
 static void
 purple_presence_init(GTypeInstance *instance, gpointer klass)
 {
-	PURPLE_DBUS_REGISTER_POINTER(PURPLE_PRESENCE(instance), PurplePresence);
-
 	PURPLE_PRESENCE_GET_PRIVATE(instance)->status_table =
 				g_hash_table_new_full(g_str_hash, g_str_equal,
 				g_free, NULL);
@@ -448,8 +445,6 @@
 
 	g_hash_table_destroy(priv->status_table);
 
-	PURPLE_DBUS_UNREGISTER_POINTER(object);
-
 	parent_class->finalize(object);
 }
 

mercurial