changeset 28244:9621d984f6ca

This was wrong, right? How did it work?
author Paul Aurich <paul@darkrain42.org>
date Thu, 13 Aug 2009 01:17:04 +0000
parents 22ae131b8a0c
children 32a707746454
files libpurple/status.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/status.c	Wed Aug 12 05:51:51 2009 +0000
+++ b/libpurple/status.c	Thu Aug 13 01:17:04 2009 +0000
@@ -1660,7 +1660,7 @@
 void
 purple_status_init(void)
 {
-	void *handle = purple_status_get_handle;
+	void *handle = purple_status_get_handle();
 
 	purple_prefs_add_none("/purple/status");
 	purple_prefs_add_none("/purple/status/scores");
@@ -1714,4 +1714,5 @@
 void
 purple_status_uninit(void)
 {
+	purple_prefs_disconnect_by_handle(purple_prefs_get_handle());
 }