]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gdk-3.0, gtk+-3.0: Update to 3.9.11+
authorRico Tzschichholz <ricotz@ubuntu.com>
Thu, 8 Aug 2013 06:47:02 +0000 (08:47 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Thu, 8 Aug 2013 06:47:02 +0000 (08:47 +0200)
vapi/gdk-3.0.vapi
vapi/gtk+-3.0.vapi
vapi/metadata/Gdk-3.0.metadata
vapi/packages/gtk+-3.0/gtk+-3.0.gi

index 63fffdc1304ffe98717ba57cee09e872919c150e..2584bc8d7080ca14b362e854920231e6be404b23 100644 (file)
@@ -4587,9 +4587,12 @@ namespace Gdk {
                public Cursor.from_name (Gdk.Display display, string name);
                [CCode (has_construct_function = false)]
                public Cursor.from_pixbuf (Gdk.Display display, Gdk.Pixbuf pixbuf, int x, int y);
+               [CCode (has_construct_function = false)]
+               public Cursor.from_surface (Gdk.Display display, Cairo.Surface surface, double x, double y);
                public Gdk.CursorType get_cursor_type ();
                public unowned Gdk.Display get_display ();
                public Gdk.Pixbuf? get_image ();
+               public Cairo.Surface? get_surface (double x_hot, double y_hot);
                [Deprecated (since = "3.0")]
                public Gdk.Cursor @ref ();
                [Deprecated (since = "3.0")]
index d31536493301b387a9b507d42b696b10dd6c67ab..ecdb2ef6c18e0b91e2fd162d1613460b0a35971a 100644 (file)
@@ -2282,16 +2282,19 @@ namespace Gtk {
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                public HeaderBar ();
                public unowned Gtk.Widget get_custom_title ();
+               public bool get_show_close_button ();
                public unowned string get_subtitle ();
                public unowned string get_title ();
                public void pack_end (Gtk.Widget child);
                public void pack_start (Gtk.Widget child);
                public void set_custom_title (Gtk.Widget title_widget);
+               public void set_show_close_button (bool setting);
                public void set_subtitle (string? subtitle);
                public void set_title (string title);
                public Gtk.Widget custom_title { get; set construct; }
                [NoAccessorMethod]
                public int hpadding { get; set; }
+               public bool show_close_button { get; set; }
                [NoAccessorMethod]
                public int spacing { get; set; }
                public string subtitle { get; set; }
index 058f2efda9f7844d672cce5c504fc15013c99e02..4a55c74d44bb4f09ae57a9d66e633dc694731526 100644 (file)
@@ -40,6 +40,8 @@ Window.get_frame_extents skip
 
 // Should send upstream
 add_option_entries_libgtk_only skip=false
+Cursor
+        .get_surface nullable
 Device
         .free_history.events array array_length_idx=1
         .get_axis_value.value out
index b30e36923f83d4c8fc5a0fde0b08e8ebcfaa1d18..991b9bd654346a42991dfe537f797602daa5fe76 100644 (file)
                                        <parameter name="bar" type="GtkHeaderBar*"/>
                                </parameters>
                        </method>
+                       <method name="get_show_close_button" symbol="gtk_header_bar_get_show_close_button">
+                               <return-type type="gboolean"/>
+                               <parameters>
+                                       <parameter name="bar" type="GtkHeaderBar*"/>
+                               </parameters>
+                       </method>
                        <method name="get_subtitle" symbol="gtk_header_bar_get_subtitle">
                                <return-type type="gchar*"/>
                                <parameters>
                                        <parameter name="title_widget" type="GtkWidget*"/>
                                </parameters>
                        </method>
+                       <method name="set_show_close_button" symbol="gtk_header_bar_set_show_close_button">
+                               <return-type type="void"/>
+                               <parameters>
+                                       <parameter name="bar" type="GtkHeaderBar*"/>
+                                       <parameter name="setting" type="gboolean"/>
+                               </parameters>
+                       </method>
                        <method name="set_subtitle" symbol="gtk_header_bar_set_subtitle">
                                <return-type type="void"/>
                                <parameters>
                        </method>
                        <property name="custom-title" type="GtkWidget*" readable="1" writable="1" construct="1" construct-only="0"/>
                        <property name="hpadding" type="gint" readable="1" writable="1" construct="0" construct-only="0"/>
+                       <property name="show-close-button" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
                        <property name="spacing" type="gint" readable="1" writable="1" construct="0" construct-only="0"/>
                        <property name="subtitle" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
                        <property name="title" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
                                </parameters>
                        </vfunc>
                </interface>
-               <constant name="GTK_BINARY_AGE" type="int" value="910"/>
+               <constant name="GTK_BINARY_AGE" type="int" value="911"/>
                <constant name="GTK_INPUT_ERROR" type="int" value="-1"/>
                <constant name="GTK_INTERFACE_AGE" type="int" value="0"/>
                <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="10"/>
+               <constant name="GTK_MICRO_VERSION" type="int" value="11"/>
                <constant name="GTK_MINOR_VERSION" type="int" value="9"/>
                <constant name="GTK_PAPER_NAME_A3" type="char*" value="iso_a3"/>
                <constant name="GTK_PAPER_NAME_A4" type="char*" value="iso_a4"/>