Replaced PurpleValue with GType in dbus-server.h soc.2013.gobjectification

Wed, 17 Jul 2013 21:14:39 +0530

author
Ankit Vani <a@nevitus.org>
date
Wed, 17 Jul 2013 21:14:39 +0530
branch
soc.2013.gobjectification
changeset 34807
9cfac32ace9a
parent 34806
182a4df77539
child 34808
442af3e72671

Replaced PurpleValue with GType in dbus-server.h

libpurple/dbus-server.h file | annotate | diff | comparison | revisions
libpurple/signals.h file | annotate | diff | comparison | revisions
--- a/libpurple/dbus-server.h	Wed Jul 17 16:27:09 2013 +0530
+++ b/libpurple/dbus-server.h	Wed Jul 17 21:14:39 2013 +0530
@@ -140,12 +140,11 @@
 
     @param name        The name of the signal ("bla-bla-blaa")
     @param num_values  The number of parameters.
-    @param values      Array of pointers to #PurpleValue objects representing
-                       the types of the parameters.
+    @param types       Array of GTypes representing the types of the parameters.
     @param vargs       A va_list containing the actual parameters.
   */
 void purple_dbus_signal_emit_purple(const char *name, int num_values,
-				PurpleValue **values, va_list vargs);
+				GType *types, va_list vargs);
 
 /**
  * Returns whether Purple's D-BUS subsystem is up and running.  If it's
--- a/libpurple/signals.h	Wed Jul 17 16:27:09 2013 +0530
+++ b/libpurple/signals.h	Wed Jul 17 21:14:39 2013 +0530
@@ -27,6 +27,7 @@
 #define _PURPLE_SIGNALS_H_
 
 #include <glib.h>
+#include <glib-object.h>
 
 #define PURPLE_CALLBACK(func) ((PurpleCallback)func)
 

mercurial