[vala] gdk-3.0, gtk+3.0: Update to 3.13.1



commit e657266432c73b292a17e5207184ebed4dd3ef44
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Tue Apr 29 08:52:23 2014 +0200

    gdk-3.0, gtk+3.0: Update to 3.13.1

 vapi/gdk-3.0.vapi                  |   10 ++++++----
 vapi/metadata/Gdk-3.0-custom.vala  |    6 ------
 vapi/packages/gtk+-3.0/gtk+-3.0.gi |   11 +----------
 3 files changed, 7 insertions(+), 20 deletions(-)
---
diff --git a/vapi/gdk-3.0.vapi b/vapi/gdk-3.0.vapi
index f034ed1..706fcf1 100644
--- a/vapi/gdk-3.0.vapi
+++ b/vapi/gdk-3.0.vapi
@@ -4614,6 +4614,7 @@ namespace Gdk {
                public bool get_has_cursor ();
                public bool get_history (Gdk.Window window, uint32 start, uint32 stop, [CCode 
(array_length_cname = "n_events", array_length_pos = 4.1)] out Gdk.TimeCoord[] events);
                public bool get_key (uint index_, out uint keyval, out Gdk.ModifierType modifiers);
+               public unowned Gdk.Window get_last_event_window ();
                public Gdk.InputMode get_mode ();
                public int get_n_axes ();
                public int get_n_keys ();
@@ -5009,6 +5010,7 @@ namespace Gdk {
        }
        [CCode (cheader_filename = "gdk/gdk.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "gdk_event_get_type ()")]
        [Compact]
+       [Deprecated (since = "3.12")]
        public class EventVisibility : Gdk.Event {
                public int8 send_event;
                public Gdk.VisibilityState state;
@@ -5934,7 +5936,7 @@ namespace Gdk {
        [CCode (cheader_filename = "gdk/gdk.h")]
        public static void cairo_set_source_window (Cairo.Context cr, Gdk.Window window, double x, double y);
        [CCode (cheader_filename = "gdk/gdk.h")]
-       public static Cairo.Surface cairo_surface_create_from_pixbuf (Gdk.Pixbuf pixbuf, int scale, 
Gdk.Window for_window);
+       public static Cairo.Surface cairo_surface_create_from_pixbuf (Gdk.Pixbuf pixbuf, int scale, 
Gdk.Window? for_window);
        [CCode (cheader_filename = "gdk/gdk.h")]
        public static void disable_multidevice ();
        [CCode (cheader_filename = "gdk/gdk.h")]
@@ -5966,11 +5968,11 @@ namespace Gdk {
        [CCode (cheader_filename = "gdk/gdk.h")]
        public static void error_trap_push ();
        [CCode (cheader_filename = "gdk/gdk.h")]
-       public static bool events_get_angle (Gdk.Event event1, Gdk.Event event2, double angle);
+       public static bool events_get_angle (Gdk.Event event1, Gdk.Event event2, out double angle);
        [CCode (cheader_filename = "gdk/gdk.h")]
-       public static bool events_get_center (Gdk.Event event1, Gdk.Event event2, double x, double y);
+       public static bool events_get_center (Gdk.Event event1, Gdk.Event event2, out double x, out double y);
        [CCode (cheader_filename = "gdk/gdk.h")]
-       public static bool events_get_distance (Gdk.Event event1, Gdk.Event event2, double distance);
+       public static bool events_get_distance (Gdk.Event event1, Gdk.Event event2, out double distance);
        [CCode (cheader_filename = "gdk/gdk.h")]
        public static bool events_pending ();
        [CCode (cheader_filename = "gdk/gdk.h")]
diff --git a/vapi/metadata/Gdk-3.0-custom.vala b/vapi/metadata/Gdk-3.0-custom.vala
index 3e78723..7d57890 100644
--- a/vapi/metadata/Gdk-3.0-custom.vala
+++ b/vapi/metadata/Gdk-3.0-custom.vala
@@ -61,12 +61,6 @@ namespace Gdk {
        public const Gdk.Atom SELECTION_SECONDARY;
        [CCode (cheader_filename = "gdk/gdk.h")]
 
-       public static bool events_get_angle (Gdk.Event event1, Gdk.Event event2, double angle);
-       [CCode (cheader_filename = "gdk/gdk.h")]
-       public static bool events_get_center (Gdk.Event event1, Gdk.Event event2, double x, double y);
-       [CCode (cheader_filename = "gdk/gdk.h")]
-       public static bool events_get_distance (Gdk.Event event1, Gdk.Event event2, double distance);
-
        [Deprecated (replacement = "Selection.convert", since = "vala-0.12")]
        public static void selection_convert (Gdk.Window requestor, Gdk.Atom selection, Gdk.Atom target, 
uint32 time_);
        [Deprecated (replacement = "Selection.owner_get", since = "vala-0.12")]
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.gi b/vapi/packages/gtk+-3.0/gtk+-3.0.gi
index 6a936f4..50b2903 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.gi
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.gi
@@ -442,12 +442,6 @@
                <function name="events_pending" symbol="gtk_events_pending">
                        <return-type type="gboolean"/>
                </function>
-               <function name="exit" symbol="gtk_exit">
-                       <return-type type="void"/>
-                       <parameters>
-                               <parameter name="error_code" type="gint"/>
-                       </parameters>
-               </function>
                <function name="false" symbol="gtk_false">
                        <return-type type="gboolean"/>
                </function>
@@ -1349,9 +1343,6 @@
                                <parameter name="flags" type="guint"/>
                        </parameters>
                </function>
-               <function name="set_locale" symbol="gtk_set_locale">
-                       <return-type type="gchar*"/>
-               </function>
                <function name="show_about_dialog" symbol="gtk_show_about_dialog">
                        <return-type type="void"/>
                        <parameters>
@@ -34376,7 +34367,7 @@
                <constant name="GTK_LEVEL_BAR_OFFSET_LOW" type="char*" value="low"/>
                <constant name="GTK_MAJOR_VERSION" type="int" value="3"/>
                <constant name="GTK_MAX_COMPOSE_LEN" type="int" value="7"/>
-               <constant name="GTK_MICRO_VERSION" type="int" value="0"/>
+               <constant name="GTK_MICRO_VERSION" type="int" value="1"/>
                <constant name="GTK_MINOR_VERSION" type="int" value="13"/>
                <constant name="GTK_PAPER_NAME_A3" type="char*" value="iso_a3"/>
                <constant name="GTK_PAPER_NAME_A4" type="char*" value="iso_a4"/>


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