pidgin: f26c0f6a: I want to play hide-a-struct too
masca at cpw.pidgin.im
masca at cpw.pidgin.im
Thu Aug 25 00:47:37 EDT 2011
----------------------------------------------------------------------
Revision: f26c0f6a0d8e621d458d0c851a149c6cad2415ab
Parent: b11803e108556a29e1204a3ff1fd00a0890d7733
Author: masca at cpw.pidgin.im
Date: 08/24/11 00:38:46
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/f26c0f6a0d8e621d458d0c851a149c6cad2415ab
Changelog:
I want to play hide-a-struct too
Changes against parent b11803e108556a29e1204a3ff1fd00a0890d7733
patched libpurple/pounce.c
patched libpurple/pounce.h
-------------- next part --------------
============================================================
--- libpurple/pounce.c 816cf5afb8a4108355fe832b51d0995e1d4ed8b5
+++ libpurple/pounce.c 180f62a0b509cdc516fd2299a9cdbe32d74bc368
@@ -32,6 +32,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