diff options
author | Matthias Clasen <mclasen@redhat.com> | 2010-05-25 11:54:16 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2010-05-25 12:01:04 -0400 |
commit | 50a72eda2d916a22a3bf5cf8e5736354d629dc61 (patch) | |
tree | 03e3bc7a2fb04da705d5768eec08631e3054b816 /gdk/gdkscreen.h | |
parent | 57754edef6360e48d4a8ef99bbf11c760c15033b (diff) | |
download | gtk+-50a72eda2d916a22a3bf5cf8e5736354d629dc61.tar.gz |
Seal gdk
Add G_SEAL annotation for struct members, and add accessors for
the (useful) fields. Patch based on work by Garrett Regier,
see bug #592580.
Diffstat (limited to 'gdk/gdkscreen.h')
-rw-r--r-- | gdk/gdkscreen.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdk/gdkscreen.h b/gdk/gdkscreen.h index 3db618862a..200d643a6f 100644 --- a/gdk/gdkscreen.h +++ b/gdk/gdkscreen.h @@ -47,14 +47,14 @@ struct _GdkScreen { GObject parent_instance; - guint closed : 1; + guint GSEAL (closed) : 1; - GdkGC *normal_gcs[32]; - GdkGC *exposure_gcs[32]; - GdkGC *subwindow_gcs[32]; + GdkGC *GSEAL (normal_gcs[32]); + GdkGC *GSEAL (exposure_gcs[32]); + GdkGC *GSEAL (subwindow_gcs[32]); - cairo_font_options_t *font_options; - double resolution; /* pixels/points scale factor for fonts */ + cairo_font_options_t *GSEAL (font_options); + double GSEAL (resolution); /* pixels/points scale factor for fonts */ }; struct _GdkScreenClass |