diff options
author | infirit <[email protected]> | 2014-05-09 23:10:14 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2014-11-28 08:44:02 +0100 |
commit | 7056b2ab291f998496cf7ceb3cf24b37f407eb7f (patch) | |
tree | 64000a3ee90022de10c9d8c74e72de31a5b594db /libmate-desktop/mate-rr-private.h | |
parent | 48df7a0c71a2df4050abae40ec9ca2b35dee7988 (diff) | |
download | mate-desktop-7056b2ab291f998496cf7ceb3cf24b37f407eb7f.tar.bz2 mate-desktop-7056b2ab291f998496cf7ceb3cf24b37f407eb7f.tar.xz |
Turn MateRRScreen into a GObject
Rework MateRRScreen so that it is a full GObject, and all its data is moved to MateScreenPrivate.
GObject's are more supported when it comes to introspection and bindings, in particular wrt constructors.
Therefore, this is a necessary step for useful introspection generation.
https://bugzilla.gnome.org/show_bug.cgi?id=630913
Based on gnome commit 4d2a27d55bcf9bb8de170ae6c6540724125aafa3
url: https://git.gnome.org/browse/gnome-desktop/commit/?id=4d2a27d55bcf9bb8de170ae6c6540724125aafa3
Diffstat (limited to 'libmate-desktop/mate-rr-private.h')
-rw-r--r-- | libmate-desktop/mate-rr-private.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libmate-desktop/mate-rr-private.h b/libmate-desktop/mate-rr-private.h index a9cddd7..ebb6417 100644 --- a/libmate-desktop/mate-rr-private.h +++ b/libmate-desktop/mate-rr-private.h @@ -31,7 +31,7 @@ struct ScreenInfo #endif }; -struct MateRRScreen +struct MateRRScreenPrivate { GdkScreen * gdk_screen; GdkWindow * gdk_root; @@ -44,9 +44,6 @@ struct MateRRScreen int rr_major_version; int rr_minor_version; - MateRRScreenChanged callback; - gpointer data; - Atom connector_type_atom; }; |