[vala] gtk+-3.0: Update to 3.21.1+



commit d82f4a8b4707cb14b9297ec943d0e930c0bed81d
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Thu Apr 28 22:25:45 2016 +0200

    gtk+-3.0: Update to 3.21.1+

 vapi/gtk+-3.0.vapi                 |   10 ++++++++-
 vapi/packages/gtk+-3.0/gtk+-3.0.gi |   37 ++++++++++++++++++++++++++++++++---
 2 files changed, 42 insertions(+), 5 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 172f208..2da54b0 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -1403,6 +1403,7 @@ namespace Gtk {
                public unowned Gdk.Display get_display ();
                public static unowned Gtk.Clipboard get_for_display (Gdk.Display display, Gdk.Atom selection);
                public unowned GLib.Object? get_owner ();
+               public Gdk.Atom get_selection ();
                public void request_contents (Gdk.Atom target, [CCode (scope = "async")] 
Gtk.ClipboardReceivedFunc callback);
                public void request_image ([CCode (scope = "async")] Gtk.ClipboardImageReceivedFunc callback);
                public void request_rich_text (Gtk.TextBuffer buffer, [CCode (scope = "async")] 
Gtk.ClipboardRichTextReceivedFunc callback);
@@ -2332,6 +2333,7 @@ namespace Gtk {
                public bool get_has_depth_buffer ();
                public bool get_has_stencil_buffer ();
                public void get_required_version (out int major, out int minor);
+               public bool get_use_es ();
                public void make_current ();
                public void queue_render ();
                public void set_auto_render (bool auto_render);
@@ -2340,11 +2342,13 @@ namespace Gtk {
                public void set_has_depth_buffer (bool has_depth_buffer);
                public void set_has_stencil_buffer (bool has_stencil_buffer);
                public void set_required_version (int major, int minor);
+               public void set_use_es (bool use_es);
                public bool auto_render { get; set; }
                public Gdk.GLContext context { get; }
                public bool has_alpha { get; set; }
                public bool has_depth_buffer { get; set; }
                public bool has_stencil_buffer { get; set; }
+               public bool use_es { get; set; }
                public virtual signal Gdk.GLContext create_context ();
                public virtual signal bool render (Gdk.GLContext context);
                public virtual signal void resize (int width, int height);
@@ -3284,6 +3288,7 @@ namespace Gtk {
                public bool get_reserve_toggle_size ();
                public bool get_tearoff_state ();
                public unowned string get_title ();
+               public void place_on_monitor (Gdk.Monitor monitor);
                public void popdown ();
                public void popup (Gtk.Widget? parent_menu_shell, Gtk.Widget? parent_menu_item, [CCode (scope 
= "async")] Gtk.MenuPositionFunc? func, uint button, uint32 activate_time);
                public void popup_for_device (Gdk.Device? device, Gtk.Widget parent_menu_shell, Gtk.Widget 
parent_menu_item, owned Gtk.MenuPositionFunc? func, uint button, uint32 activate_time);
@@ -4780,6 +4785,8 @@ namespace Gtk {
                [NoAccessorMethod]
                public string accelerator { owned get; set; }
                [NoAccessorMethod]
+               public string action_name { owned get; set; }
+               [NoAccessorMethod]
                public Gtk.TextDirection direction { get; set; }
                [NoAccessorMethod]
                public GLib.Icon icon { owned get; set; }
@@ -8203,7 +8210,8 @@ namespace Gtk {
                GPL_2_0_ONLY,
                GPL_3_0_ONLY,
                LGPL_2_1_ONLY,
-               LGPL_3_0_ONLY
+               LGPL_3_0_ONLY,
+               AGPL_3_0
        }
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_MENU_DIR_")]
        public enum MenuDirectionType {
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.gi b/vapi/packages/gtk+-3.0/gtk+-3.0.gi
index d0c572e..b5cb778 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.gi
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.gi
@@ -4892,6 +4892,7 @@
                        <member name="GTK_LICENSE_GPL_3_0_ONLY" value="10"/>
                        <member name="GTK_LICENSE_LGPL_2_1_ONLY" value="11"/>
                        <member name="GTK_LICENSE_LGPL_3_0_ONLY" value="12"/>
+                       <member name="GTK_LICENSE_AGPL_3_0" value="13"/>
                </enum>
                <enum name="GtkMenuDirectionType" type-name="GtkMenuDirectionType" 
get-type="gtk_menu_direction_type_get_type">
                        <member name="GTK_MENU_DIR_PARENT" value="0"/>
@@ -10038,6 +10039,12 @@
                                        <parameter name="clipboard" type="GtkClipboard*"/>
                                </parameters>
                        </method>
+                       <method name="get_selection" symbol="gtk_clipboard_get_selection">
+                               <return-type type="GdkAtom"/>
+                               <parameters>
+                                       <parameter name="clipboard" type="GtkClipboard*"/>
+                               </parameters>
+                       </method>
                        <method name="request_contents" symbol="gtk_clipboard_request_contents">
                                <return-type type="void"/>
                                <parameters>
@@ -13844,6 +13851,12 @@
                                        <parameter name="minor" type="gint*"/>
                                </parameters>
                        </method>
+                       <method name="get_use_es" symbol="gtk_gl_area_get_use_es">
+                               <return-type type="gboolean"/>
+                               <parameters>
+                                       <parameter name="area" type="GtkGLArea*"/>
+                               </parameters>
+                       </method>
                        <method name="make_current" symbol="gtk_gl_area_make_current">
                                <return-type type="void"/>
                                <parameters>
@@ -13902,11 +13915,19 @@
                                        <parameter name="minor" type="gint"/>
                                </parameters>
                        </method>
+                       <method name="set_use_es" symbol="gtk_gl_area_set_use_es">
+                               <return-type type="void"/>
+                               <parameters>
+                                       <parameter name="area" type="GtkGLArea*"/>
+                                       <parameter name="use_es" type="gboolean"/>
+                               </parameters>
+                       </method>
                        <property name="auto-render" type="gboolean" readable="1" writable="1" construct="0" 
construct-only="0"/>
                        <property name="context" type="GdkGLContext*" readable="1" writable="0" construct="0" 
construct-only="0"/>
                        <property name="has-alpha" type="gboolean" readable="1" writable="1" construct="0" 
construct-only="0"/>
                        <property name="has-depth-buffer" type="gboolean" readable="1" writable="1" 
construct="0" construct-only="0"/>
                        <property name="has-stencil-buffer" type="gboolean" readable="1" writable="1" 
construct="0" construct-only="0"/>
+                       <property name="use-es" type="gboolean" readable="1" writable="1" construct="0" 
construct-only="0"/>
                        <signal name="create-context" when="LAST">
                                <return-type type="GdkGLContext*"/>
                                <parameters>
@@ -17862,6 +17883,13 @@
                                        <parameter name="model" type="GMenuModel*"/>
                                </parameters>
                        </constructor>
+                       <method name="place_on_monitor" symbol="gtk_menu_place_on_monitor">
+                               <return-type type="void"/>
+                               <parameters>
+                                       <parameter name="menu" type="GtkMenu*"/>
+                                       <parameter name="monitor" type="GdkMonitor*"/>
+                               </parameters>
+                       </method>
                        <method name="popdown" symbol="gtk_menu_popdown">
                                <return-type type="void"/>
                                <parameters>
@@ -22934,6 +22962,7 @@
                        </implements>
                        <property name="accel-size-group" type="GtkSizeGroup*" readable="0" writable="1" 
construct="0" construct-only="0"/>
                        <property name="accelerator" type="char*" readable="1" writable="1" construct="0" 
construct-only="0"/>
+                       <property name="action-name" type="char*" readable="1" writable="1" construct="0" 
construct-only="0"/>
                        <property name="direction" type="GtkTextDirection" readable="1" writable="1" 
construct="0" construct-only="0"/>
                        <property name="icon" type="GIcon*" readable="1" writable="1" construct="0" 
construct-only="0"/>
                        <property name="icon-set" type="gboolean" readable="1" writable="1" construct="0" 
construct-only="0"/>
@@ -36160,16 +36189,16 @@
                                </parameters>
                        </vfunc>
                </interface>
-               <constant name="GTK_BINARY_AGE" type="int" value="1912"/>
+               <constant name="GTK_BINARY_AGE" type="int" value="2101"/>
                <constant name="GTK_INPUT_ERROR" type="int" value="-1"/>
-               <constant name="GTK_INTERFACE_AGE" type="int" value="0"/>
+               <constant name="GTK_INTERFACE_AGE" type="int" value="1"/>
                <constant name="GTK_LEVEL_BAR_OFFSET_FULL" type="char*" value="full"/>
                <constant name="GTK_LEVEL_BAR_OFFSET_HIGH" type="char*" value="high"/>
                <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="12"/>
-               <constant name="GTK_MINOR_VERSION" type="int" value="19"/>
+               <constant name="GTK_MICRO_VERSION" type="int" value="1"/>
+               <constant name="GTK_MINOR_VERSION" type="int" value="21"/>
                <constant name="GTK_PAPER_NAME_A3" type="char*" value="iso_a3"/>
                <constant name="GTK_PAPER_NAME_A4" type="char*" value="iso_a4"/>
                <constant name="GTK_PAPER_NAME_A5" type="char*" value="iso_a5"/>


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