libpurple/notify.c

changeset 39352
62bca2fe2e91
parent 37410
fd7447005dea
child 39659
e4dfb99b0cef
--- a/libpurple/notify.c	Tue Nov 27 17:52:15 2018 -0600
+++ b/libpurple/notify.c	Tue Oct 02 16:01:52 2018 -0500
@@ -21,7 +21,6 @@
 #define _PURPLE_NOTIFY_C_
 
 #include "internal.h"
-#include "dbus-maybe.h"
 #include "notify.h"
 
 static PurpleNotifyUiOps *notify_ui_ops = NULL;
@@ -441,7 +440,6 @@
 	PurpleNotifyUserInfoEntry *user_info_entry;
 
 	user_info_entry = g_new0(PurpleNotifyUserInfoEntry, 1);
-	PURPLE_DBUS_REGISTER_POINTER(user_info_entry, PurpleNotifyUserInfoEntry);
 	user_info_entry->label = g_strdup(label);
 	user_info_entry->value = g_strdup(value);
 	user_info_entry->type = PURPLE_NOTIFY_USER_INFO_ENTRY_PAIR;
@@ -456,7 +454,6 @@
 
 	g_free(user_info_entry->label);
 	g_free(user_info_entry->value);
-	PURPLE_DBUS_UNREGISTER_POINTER(user_info_entry);
 	g_free(user_info_entry);
 }
 
@@ -466,7 +463,6 @@
 	PurpleNotifyUserInfo *user_info;
 
 	user_info = g_new0(PurpleNotifyUserInfo, 1);
-	PURPLE_DBUS_REGISTER_POINTER(user_info, PurpleNotifyUserInfo);
 	g_queue_init(&user_info->entries);
 
 	return user_info;
@@ -484,7 +480,6 @@
 	}
 
 	g_queue_clear(&user_info->entries);
-	PURPLE_DBUS_UNREGISTER_POINTER(user_info);
 	g_free(user_info);
 }
 

mercurial