]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gdk-3.0: make Screen and Window inherit from GObject
authorEvan Nemerson <evan@coeus-group.com>
Fri, 23 Sep 2011 21:05:13 +0000 (14:05 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Fri, 23 Sep 2011 21:05:13 +0000 (14:05 -0700)
vapi/gdk-3.0.vapi
vapi/metadata/Gdk-3.0-custom.vala

index d8d5878e33b5cc34ac5b4e54d9b8540db09afa92..f415b791b652ee564d7d7a603688305f85bcf749 100644 (file)
@@ -4778,7 +4778,7 @@ namespace Gdk {
                public signal void state_changed ();
        }
        [CCode (cheader_filename = "gdk/gdk.h")]
-       public class Screen {
+       public class Screen : GLib.Object {
                [CCode (has_construct_function = false)]
                protected Screen ();
                public Gdk.Window get_active_window ();
@@ -4842,7 +4842,7 @@ namespace Gdk {
                public Gdk.VisualType get_visual_type ();
        }
        [CCode (cheader_filename = "gdk/gdk.h")]
-       public class Window {
+       public class Window : GLib.Object {
                [CCode (has_construct_function = false)]
                public Window (Gdk.Window? parent, Gdk.WindowAttr attributes, int attributes_mask);
                public void add_filter (Gdk.FilterFunc function);
index 2dbfaace9626fdffeff641604f4323e543644a38..37d59707bf133a8faeec753ba616fecb6c99de30 100644 (file)
@@ -1,9 +1,9 @@
 namespace Gdk {
-       public class Screen {
+       public class Screen : GLib.Object {
                public void get_monitor_geometry (int monitor_num, out Gdk.Rectangle dest);
        }
 
-       public class Window {
+       public class Window : GLib.Object {
                public void get_frame_extents (out Gdk.Rectangle rect);
        }