summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2014-08-31 11:18:27 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2014-08-31 11:18:27 +0200
commit0c96ce94df663a45a0928c11c322e5316383baab (patch)
treeb2ed9147223608393716641166247d5b3d3d98e0
parentaa52b5be484f0c3d4dfcafe249bdf1c72265c778 (diff)
downloadvala-0c96ce94df663a45a0928c11c322e5316383baab.tar.gz
gtk+-2.0, gtk+-3.0: Revert Gtk.Widget "constructor" changes
-rw-r--r--vapi/gtk+-2.0.vapi2
-rw-r--r--vapi/gtk+-3.0.vapi2
-rw-r--r--vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala2
-rw-r--r--vapi/packages/gtk+-3.0/gtk+-3.0-custom.vala2
4 files changed, 4 insertions, 4 deletions
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 18f10980f..c74c5edc5 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 a3042e94b..b216f77a1 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 a54913f8d..95caaac86 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 8f2b60f2c..935f4a5c6 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]