gobjectification: fa5f3108: Hide Pounce struct.

masca at cpw.pidgin.im masca at cpw.pidgin.im
Sun Jun 12 23:05:42 EDT 2011


----------------------------------------------------------------------
Revision: fa5f3108fa8faf96b2a699d4e74e0fbf7f302b85
Parent:   5df306b350eb432c548eb847b9c69b7c16198417
Author:   masca at cpw.pidgin.im
Date:     06/12/11 20:50:06
Branch:   im.pidgin.gobjectification
URL: http://d.pidgin.im/viewmtn/revision/info/fa5f3108fa8faf96b2a699d4e74e0fbf7f302b85

Changelog: 

Hide Pounce struct.

Changes against parent 5df306b350eb432c548eb847b9c69b7c16198417

  patched  libpurple/pounce.c
  patched  libpurple/pounce.h

-------------- next part --------------
============================================================
--- libpurple/pounce.c	29604fc204eca0100f707af9c4869a9b289a6d8d
+++ libpurple/pounce.c	b164bababb7a6463933d175ea90bd6532d9aca9b
@@ -33,6 +33,31 @@
 #include "pounce.h"
 #include "util.h"
 
+/**
+ * A buddy pounce structure.
+ *
+ * Buddy pounces are actions triggered by a buddy-related event. For
+ * example, a sound can be played or an IM window opened when a buddy
+ * signs on or returns from away. Such responses are handled in the
+ * UI. The events themselves are done in the core.
+ */
+struct _PurplePounce
+{
+	char *ui_type;                /**< The type of UI.            */
+
+	PurplePounceEvent events;       /**< The event(s) to pounce on. */
+	PurplePounceOption options;     /**< The pounce options         */
+	PurpleAccount *pouncer;         /**< The user who is pouncing.  */
+
+	char *pouncee;                /**< The buddy to pounce on.    */
+
+	GHashTable *actions;          /**< The registered actions.    */
+
+	gboolean save;                /**< Whether or not the pounce should
+	                                   be saved after activation. */
+	void *data;                   /**< Pounce-specific data.      */
+};
+
 typedef struct
 {
 	GString *buffer;
============================================================
--- libpurple/pounce.h	336cf169179e55c73d7eb54c44f85a18b3ad82b6
+++ libpurple/pounce.h	bf16dfc0ef59c54d518a139469a94d3b0b2f1877
@@ -59,31 +59,6 @@ typedef void (*PurplePounceCb)(PurplePou
 /** A pounce callback. */
 typedef void (*PurplePounceCb)(PurplePounce *, PurplePounceEvent, void *);
 
-/**
- * A buddy pounce structure.
- *
- * Buddy pounces are actions triggered by a buddy-related event. For
- * example, a sound can be played or an IM window opened when a buddy
- * signs on or returns from away. Such responses are handled in the
- * UI. The events themselves are done in the core.
- */
-struct _PurplePounce
-{
-	char *ui_type;                /**< The type of UI.            */
-
-	PurplePounceEvent events;       /**< The event(s) to pounce on. */
-	PurplePounceOption options;     /**< The pounce options         */
-	PurpleAccount *pouncer;         /**< The user who is pouncing.  */
-
-	char *pouncee;                /**< The buddy to pounce on.    */
-
-	GHashTable *actions;          /**< The registered actions.    */
-
-	gboolean save;                /**< Whether or not the pounce should
-	                                   be saved after activation. */
-	void *data;                   /**< Pounce-specific data.      */
-};
-
 #ifdef __cplusplus
 extern "C" {
 #endif


More information about the Commits mailing list