/soc/2013/ankitkv/gobjectification: 9cfac32ace9a: Replaced Purpl...

Ankit Vani a at nevitus.org
Wed Jul 17 12:17:44 EDT 2013


Changeset: 9cfac32ace9a882e87604fba101da3d87cee653a
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-07-17 21:14 +0530
Branch:	 soc.2013.gobjectification
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/9cfac32ace9a

Description:

Replaced PurpleValue with GType in dbus-server.h

diffstat:

 libpurple/dbus-server.h |  5 ++---
 libpurple/signals.h     |  1 +
 2 files changed, 3 insertions(+), 3 deletions(-)

diffs (29 lines):

diff --git a/libpurple/dbus-server.h b/libpurple/dbus-server.h
--- a/libpurple/dbus-server.h
+++ b/libpurple/dbus-server.h
@@ -140,12 +140,11 @@ void purple_dbus_unregister_pointer(gpoi
 
     @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
diff --git a/libpurple/signals.h b/libpurple/signals.h
--- a/libpurple/signals.h
+++ b/libpurple/signals.h
@@ -27,6 +27,7 @@
 #define _PURPLE_SIGNALS_H_
 
 #include <glib.h>
+#include <glib-object.h>
 
 #define PURPLE_CALLBACK(func) ((PurpleCallback)func)
 



More information about the Commits mailing list