diff options
author | Mike Gorse <mgorse@novell.com> | 2010-11-28 14:48:52 -0500 |
---|---|---|
committer | Mike Gorse <mgorse@novell.com> | 2010-11-28 14:48:52 -0500 |
commit | febc57fdd883c96a471a970f6801af9d5a5bdf92 (patch) | |
tree | 31b385ee12ddebc4ca1ffe62901bdedd52f1b39d /atspi/atspi-matchrule.h | |
parent | ba62b6e42a04872513574b1abd2e02d44c2a6468 (diff) | |
download | at-spi2-core-febc57fdd883c96a471a970f6801af9d5a5bdf92.tar.gz |
Really commit fixes; make unit tests pass
Diffstat (limited to 'atspi/atspi-matchrule.h')
-rw-r--r-- | atspi/atspi-matchrule.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/atspi/atspi-matchrule.h b/atspi/atspi-matchrule.h index ff3a685c..074bf9f7 100644 --- a/atspi/atspi-matchrule.h +++ b/atspi/atspi-matchrule.h @@ -41,14 +41,15 @@ typedef struct _AtspiMatchRule AtspiMatchRule; struct _AtspiMatchRule { + GObject parent; AtspiStateSet *states; AtspiCollectionMatchType statematchtype; GHashTable *attributes; AtspiCollectionMatchType attributematchtype; - GArray *roles; - AtspiCollectionMatchType rolematchtype; GArray *interfaces; AtspiCollectionMatchType interfacematchtype; + gint roles [4]; + AtspiCollectionMatchType rolematchtype; gboolean invert; }; @@ -58,6 +59,8 @@ struct _AtspiMatchRuleClass GObjectClass parent_class; }; +GType atspi_match_rule_get_type (); + AtspiMatchRule * atspi_match_rule_new (AtspiStateSet *states, AtspiCollectionMatchType statematchtype, @@ -65,6 +68,8 @@ atspi_match_rule_new (AtspiStateSet *states, AtspiCollectionMatchType attributematchtype, GArray *roles, AtspiCollectionMatchType rolematchtype, + GArray *interfaces, + AtspiCollectionMatchType interfacematchtype, gboolean invert); gboolean |