diff options
author | Tim Janik <timj@src.gnome.org> | 2008-06-20 10:57:08 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 2008-06-20 10:57:08 +0000 |
commit | 2436a762e483665858c7f4d39157b0ade02fd74e (patch) | |
tree | 623f517a2b42d2f9fd3f81537c12b28743127573 /gtk/gtkaccelgroup.h | |
parent | 2aa3a83bd4b6f0e86929e1c8eda33ba6dc75d88b (diff) | |
download | gtk+-2436a762e483665858c7f4d39157b0ade02fd74e.tar.gz |
Sealed GtkAccelGroup and added
* gtk/gtkaccelgroup.[ch]: Added GObject properties for lock_count,
modifier_mask, acceleratables, n_accels and priv_accels. Added seal
macro for public struct members which should be private.
svn path=/trunk/; revision=20482
Diffstat (limited to 'gtk/gtkaccelgroup.h')
-rw-r--r-- | gtk/gtkaccelgroup.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/gtk/gtkaccelgroup.h b/gtk/gtkaccelgroup.h index c620a9e8b9..72c74e8844 100644 --- a/gtk/gtkaccelgroup.h +++ b/gtk/gtkaccelgroup.h @@ -73,11 +73,11 @@ typedef gboolean (*GtkAccelGroupFindFunc) (GtkAccelKey *key, struct _GtkAccelGroup { GObject parent; - guint lock_count; - GdkModifierType modifier_mask; - GSList *acceleratables; - guint n_accels; - GtkAccelGroupEntry *priv_accels; + guint GSEAL (lock_count); + GdkModifierType GSEAL (modifier_mask); + GSList *GSEAL (acceleratables); + guint GSEAL (n_accels); + GtkAccelGroupEntry *GSEAL (priv_accels); }; struct _GtkAccelGroupClass @@ -107,6 +107,14 @@ struct _GtkAccelKey /* -- Accelerator Groups --- */ GType gtk_accel_group_get_type (void) G_GNUC_CONST; GtkAccelGroup* gtk_accel_group_new (void); +guint gtk_accel_group_get_lock_count (GtkAccelGroup *accel_group); +GdkModifierType + gtk_accel_group_get_modifier_mask (GtkAccelGroup *accel_group); +GSList* gtk_accel_group_get_acceleratables (GtkAccelGroup *accel_group); +guint gtk_accel_group_get_n_accels (GtkAccelGroup *accel_group); +GtkAccelGroupEntry* + gtk_accel_group_get_priv_accels (GtkAccelGroup *accel_group); + void gtk_accel_group_lock (GtkAccelGroup *accel_group); void gtk_accel_group_unlock (GtkAccelGroup *accel_group); void gtk_accel_group_connect (GtkAccelGroup *accel_group, |