]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gdk-3.0, gtk+3.0: Update to 3.13.1
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 29 Apr 2014 06:52:23 +0000 (08:52 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 29 Apr 2014 06:52:23 +0000 (08:52 +0200)
vapi/gdk-3.0.vapi
vapi/metadata/Gdk-3.0-custom.vala
vapi/packages/gtk+-3.0/gtk+-3.0.gi

index f034ed1b1242827a4e2b9373f39797f5ad26a278..706fcf18520c3fc6b050400b65de718d54c1aa4b 100644 (file)
@@ -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")]
index 3e78723e7436d71bcb3b1091b44f04fd97a06813..7d578904482f6a5d6eacb76a2e79108608a4e59d 100644 (file)
@@ -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")]
index 6a936f470cd75eb51fd8fc74f53ab44a23d1cb16..50b2903d24bdc00f2cade05b085fe4446042b877 100644 (file)
                <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>
                                <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>
                <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"/>