/soc/2013/ankitkv/gobjectification: 3e876e3e3131: Merge gtkdoc-c...
Ankit Vani
a at nevitus.org
Thu Feb 6 16:39:39 EST 2014
Changeset: 3e876e3e3131b247defde154d0e6f574aa870d8b
Author: Ankit Vani <a at nevitus.org>
Date: 2014-02-07 01:19 +0530
Branch: soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/3e876e3e3131
Description:
Merge gtkdoc-conversion
diffstat:
finch/libgnt/gntbindable.h | 4 ++--
finch/libgnt/gntbox.h | 8 ++++----
finch/libgnt/gntbutton.h | 8 ++++----
finch/libgnt/gntlabel.h | 8 ++++----
finch/libgnt/gnttree.h | 7 +++++--
finch/libgnt/gntwidget.h | 8 ++++----
6 files changed, 23 insertions(+), 20 deletions(-)
diffs (110 lines):
diff --git a/finch/libgnt/gntbindable.h b/finch/libgnt/gntbindable.h
--- a/finch/libgnt/gntbindable.h
+++ b/finch/libgnt/gntbindable.h
@@ -89,8 +89,8 @@ struct _GntBindableAction
{
char *name; /* The name of the action */
union {
- gboolean (*action)(GntBindable *bindable, GList *params);
- gboolean (*action_noparam)(GntBindable *bindable);
+ GntBindableActionCallback action;
+ GntBindableActionCallbackNoParam action_noparam;
} u;
};
diff --git a/finch/libgnt/gntbox.h b/finch/libgnt/gntbox.h
--- a/finch/libgnt/gntbox.h
+++ b/finch/libgnt/gntbox.h
@@ -72,10 +72,10 @@ struct _GntBox
GList *focus; /* List of widgets to cycle focus (only valid for parent boxes) */
/*< private >*/
- void (*gnt_reserved1)(void);
- void (*gnt_reserved2)(void);
- void (*gnt_reserved3)(void);
- void (*gnt_reserved4)(void);
+ void *res1;
+ void *res2;
+ void *res3;
+ void *res4;
};
struct _GntBoxClass
diff --git a/finch/libgnt/gntbutton.h b/finch/libgnt/gntbutton.h
--- a/finch/libgnt/gntbutton.h
+++ b/finch/libgnt/gntbutton.h
@@ -57,10 +57,10 @@ struct _GntButton
GntButtonPriv *priv;
/*< private >*/
- void (*gnt_reserved1)(void);
- void (*gnt_reserved2)(void);
- void (*gnt_reserved3)(void);
- void (*gnt_reserved4)(void);
+ void *res1;
+ void *res2;
+ void *res3;
+ void *res4;
};
struct _GntButtonClass
diff --git a/finch/libgnt/gntlabel.h b/finch/libgnt/gntlabel.h
--- a/finch/libgnt/gntlabel.h
+++ b/finch/libgnt/gntlabel.h
@@ -51,10 +51,10 @@ struct _GntLabel
GntTextFormatFlags flags;
/*< private >*/
- void (*gnt_reserved1)(void);
- void (*gnt_reserved2)(void);
- void (*gnt_reserved3)(void);
- void (*gnt_reserved4)(void);
+ void *res1;
+ void *res2;
+ void *res3;
+ void *res4;
};
struct _GntLabelClass
diff --git a/finch/libgnt/gnttree.h b/finch/libgnt/gnttree.h
--- a/finch/libgnt/gnttree.h
+++ b/finch/libgnt/gnttree.h
@@ -42,6 +42,9 @@
#define GNT_IS_TREE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GNT_TYPE_TREE))
#define GNT_TREE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_TREE, GntTreeClass))
+typedef guint (*GntTreeHashFunc)(gconstpointer);
+typedef gboolean (*GntTreeHashEqualityFunc)(gconstpointer, gconstpointer);
+
typedef struct _GntTree GntTree;
typedef struct _GntTreePriv GntTreePriv;
typedef struct _GntTreeClass GntTreeClass;
@@ -78,8 +81,8 @@ struct _GntTree
GList *list; /* List of GntTreeRow s */
GHashTable *hash; /* We need this for quickly referencing the rows */
- guint (*hash_func)(gconstpointer);
- gboolean (*hash_eq_func)(gconstpointer, gconstpointer);
+ GntTreeHashFunc hash_func;
+ GntTreeHashEqualityFunc hash_eq_func;
GDestroyNotify key_destroy;
GDestroyNotify value_destroy;
diff --git a/finch/libgnt/gntwidget.h b/finch/libgnt/gntwidget.h
--- a/finch/libgnt/gntwidget.h
+++ b/finch/libgnt/gntwidget.h
@@ -107,10 +107,10 @@ struct _GntWidget
WINDOW *window;
/*< private >*/
- void (*gnt_reserved1)(void);
- void (*gnt_reserved2)(void);
- void (*gnt_reserved3)(void);
- void (*gnt_reserved4)(void);
+ void *res1;
+ void *res2;
+ void *res3;
+ void *res4;
};
struct _GntWidgetClass
More information about the Commits
mailing list