[vala] gtk+-2.0, gtk+-3.0: Revert Gtk.Widget "constructor" changes



commit 0c96ce94df663a45a0928c11c322e5316383baab
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Aug 31 11:18:27 2014 +0200

    gtk+-2.0, gtk+-3.0: Revert Gtk.Widget "constructor" changes

 vapi/gtk+-2.0.vapi                          |    2 +-
 vapi/gtk+-3.0.vapi                          |    2 +-
 vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala |    2 +-
 vapi/packages/gtk+-3.0/gtk+-3.0-custom.vala |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 18f1098..c74c5ed 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -5538,7 +5538,7 @@ namespace Gtk {
                public uchar state;
                public Gdk.Window window;
                [CCode (construct_function = "gtk_widget_new", has_new_function = false)]
-               public Widget (GLib.Type type, ...);
+               public Widget (...);
                public bool activate ();
                public void add_accelerator (string accel_signal, Gtk.AccelGroup accel_group, uint accel_key, 
Gdk.ModifierType accel_mods, Gtk.AccelFlags accel_flags);
                public void add_events (int events);
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index a3042e9..b216f77 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -6260,7 +6260,7 @@ namespace Gtk {
        public class Widget : GLib.InitiallyUnowned, Atk.Implementor, Gtk.Buildable {
                public class uint activate_signal;
                [CCode (construct_function = "gtk_widget_new", has_new_function = false)]
-               public Widget (GLib.Type type, ...);
+               public Widget (...);
                public bool activate ();
                public void add_accelerator (string accel_signal, Gtk.AccelGroup accel_group, uint accel_key, 
Gdk.ModifierType accel_mods, Gtk.AccelFlags accel_flags);
                public void add_device_events (Gdk.Device device, Gdk.EventMask events);
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala b/vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala
index a54913f..95caaac 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala
@@ -204,7 +204,7 @@ namespace Gtk {
 
        public class Widget {
                [CCode (has_new_function = false, construct_function = "gtk_widget_new")]
-               public extern Widget (GLib.Type type, ...);
+               public extern Widget (...);
 
                [CCode (cname = "GTK_WIDGET_FLAGS")]
                public extern WidgetFlags get_flags ();
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0-custom.vala b/vapi/packages/gtk+-3.0/gtk+-3.0-custom.vala
index 8f2b60f..935f4a5 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0-custom.vala
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0-custom.vala
@@ -69,7 +69,7 @@ namespace Gtk {
        [CCode (type_id = "gtk_widget_get_type ()")]
        public class Widget {
                [CCode (has_new_function = false, construct_function = "gtk_widget_new")]
-               public extern Widget (GLib.Type type, ...);
+               public extern Widget (...);
                public class uint activate_signal;
                [CCode (vfunc_name = "get_preferred_height")]
                [NoWrapper]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]