qulogic/libgnt

Make gnt ready for introspection
gtkdoc-conversion
2014-02-07, Ankit Vani
8a05beeb7f36
Make gnt ready for introspection
  • +2 -2
    gntbindable.h
  • +4 -4
    gntbox.h
  • +4 -4
    gntbutton.h
  • +4 -4
    gntlabel.h
  • +5 -2
    gnttree.h
  • +4 -4
    gntwidget.h
  • --- 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 */
    union {
    - gboolean (*action)(GntBindable *bindable, GList *params);
    - gboolean (*action_noparam)(GntBindable *bindable);
    + GntBindableActionCallback action;
    + GntBindableActionCallbackNoParam action_noparam;
    } u;
    };
    --- 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) */
    /*< 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
    --- a/gntbutton.h Thu Feb 06 22:59:52 2014 +0530
    +++ b/gntbutton.h Fri Feb 07 01:18:26 2014 +0530
    @@ -57,10 +57,10 @@
    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
    --- 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;
    /*< 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
    --- 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;
    --- a/gntwidget.h Thu Feb 06 22:59:52 2014 +0530
    +++ b/gntwidget.h Fri Feb 07 01:18:26 2014 +0530
    @@ -107,10 +107,10 @@
    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