--- a/gntbindable.h Thu Feb 06 22:59:52 2014 +0530
+++ b/gntbindable.h Fri Feb 07 01:18:26 2014 +0530
@@ -89,8 +89,8 @@
char *name; /* The name of the action */
- gboolean (*action)(GntBindable *bindable, GList *params);
- gboolean (*action_noparam)(GntBindable *bindable);
+ GntBindableActionCallback action; + GntBindableActionCallbackNoParam action_noparam; --- a/gntbox.h Thu Feb 06 22:59:52 2014 +0530
+++ b/gntbox.h Fri Feb 07 01:18:26 2014 +0530
@@ -72,10 +72,10 @@
GList *focus; /* List of widgets to cycle focus (only valid for parent boxes) */
- void (*gnt_reserved1)(void);
- void (*gnt_reserved2)(void);
- void (*gnt_reserved3)(void);
- void (*gnt_reserved4)(void);
--- a/gntlabel.h Thu Feb 06 22:59:52 2014 +0530
+++ b/gntlabel.h Fri Feb 07 01:18:26 2014 +0530
@@ -51,10 +51,10 @@
GntTextFormatFlags flags;
- void (*gnt_reserved1)(void);
- void (*gnt_reserved2)(void);
- void (*gnt_reserved3)(void);
- void (*gnt_reserved4)(void);
--- a/gnttree.h Thu Feb 06 22:59:52 2014 +0530
+++ b/gnttree.h Fri Feb 07 01:18:26 2014 +0530
@@ -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 @@
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;