/soc/2013/ankitkv/gobjectification: 7bd15fb08b69: Prepare for go...

Ankit Vani a at nevitus.org
Sun Jul 14 07:21:13 EDT 2013


Changeset: 7bd15fb08b6916545555154db922fd4c84d98ab0
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-07-14 16:51 +0530
Branch:	 soc.2013.gobjectification
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/7bd15fb08b69

Description:

Prepare for gobjectification of PurplePresence and PurpleStatus

diffstat:

 libpurple/Makefile.am |   3 ++-
 libpurple/status.h    |  10 +++++-----
 2 files changed, 7 insertions(+), 6 deletions(-)

diffs (40 lines):

diff --git a/libpurple/Makefile.am b/libpurple/Makefile.am
--- a/libpurple/Makefile.am
+++ b/libpurple/Makefile.am
@@ -189,7 +189,8 @@ purple_enumheaders = \
 	cipher.h \
 	connection.h \
 	conversation.h \
-	conversationtypes.h
+	conversationtypes.h \
+	status.h
 
 marshallers.h: marshallers.list
 	$(AM_V_GEN)$(GLIB_GENMARSHAL) --prefix=purple_smarshal $(srcdir)/marshallers.list --header > marshallers.h
diff --git a/libpurple/status.h b/libpurple/status.h
--- a/libpurple/status.h
+++ b/libpurple/status.h
@@ -82,10 +82,10 @@
  * hardcoded in each PRPL and will not change often.  And because
  * they are hardcoded, they do not need to be saved to any XML file.
  */
-typedef struct _PurpleStatusType      PurpleStatusType;
-typedef struct _PurpleStatusAttr      PurpleStatusAttr;
-typedef struct _PurplePresence        PurplePresence;
-typedef struct _PurpleStatus          PurpleStatus;
+typedef struct _PurpleStatusType      PurpleStatusType; /* TODO GBoxed  */
+typedef struct _PurpleStatusAttr      PurpleStatusAttr; /* TODO GBoxed  */
+typedef struct _PurplePresence        PurplePresence;   /* TODO GObject */
+typedef struct _PurpleStatus          PurpleStatus;     /* TODO GObject */
 
 typedef struct _PurpleMood {
 	const char *mood;
@@ -94,7 +94,7 @@ typedef struct _PurpleMood {
 } PurpleMood;
 
 /**
- * A context for a presence.
+ * A context for a presence. TODO Remove, subclass PurplePresence
  *
  * The context indicates to what the presence applies.
  */



More information about the Commits mailing list