[vala] gtk+-3.0: Update to 3.15.7
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk+-3.0: Update to 3.15.7
- Date: Mon, 16 Feb 2015 14:50:17 +0000 (UTC)
commit 4ffca07742efbbe08c88167445ae845706ea7c35
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Mon Feb 16 15:49:49 2015 +0100
gtk+-3.0: Update to 3.15.7
vapi/gtk+-3.0.vapi | 25 +++++----
vapi/packages/gtk+-3.0/gtk+-3.0.gi | 86 +++++++++++++++++++----------
vapi/packages/gtk+-3.0/gtk+-3.0.metadata | 6 ++
3 files changed, 76 insertions(+), 41 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index eb2d90f..cb855b7 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -2309,7 +2309,7 @@ namespace Gtk {
public bool get_has_alpha ();
public bool get_has_depth_buffer ();
public bool get_has_stencil_buffer ();
- public Gdk.GLProfile get_profile ();
+ public void get_required_version (out int major, out int minor);
public void make_current ();
public void queue_render ();
public void set_auto_render (bool auto_render);
@@ -2317,13 +2317,12 @@ namespace Gtk {
public void set_has_alpha (bool has_alpha);
public void set_has_depth_buffer (bool has_depth_buffer);
public void set_has_stencil_buffer (bool has_stencil_buffer);
- public void set_profile (Gdk.GLProfile profile);
+ public void set_required_version (int major, int minor);
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 Gdk.GLProfile profile { get; set construct; }
public virtual signal Gdk.GLContext create_context ();
public virtual signal bool render (Gdk.GLContext context);
public virtual signal void resize (int width, int height);
@@ -3131,6 +3130,7 @@ namespace Gtk {
public class ListBox : Gtk.Container, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public ListBox ();
+ public void bind_model (GLib.List? model, owned Gtk.ListBoxCreateWidgetFunc
create_widget_func);
public void drag_highlight_row (Gtk.ListBoxRow row);
public void drag_unhighlight_row ();
public bool get_activate_on_single_click ();
@@ -3513,6 +3513,7 @@ namespace Gtk {
public Notebook ();
public int append_page (Gtk.Widget child, Gtk.Widget? tab_label = null);
public int append_page_menu (Gtk.Widget child, Gtk.Widget? tab_label, Gtk.Widget? menu_label);
+ public void detach_tab (Gtk.Widget child);
public unowned Gtk.Widget get_action_widget (Gtk.PackType pack_type);
public int get_current_page ();
public unowned string get_group_name ();
@@ -4667,14 +4668,6 @@ namespace Gtk {
[NoAccessorMethod]
public string gtk_xft_rgba { owned get; set; }
}
- [CCode (cheader_filename = "gtk/gtk.h")]
- public class Sidebar : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
- [CCode (has_construct_function = false, type = "GtkWidget*")]
- public Sidebar ();
- public unowned Gtk.Stack get_stack ();
- public void set_stack (Gtk.Stack stack);
- public Gtk.Stack stack { get; set; }
- }
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_size_group_get_type ()")]
public class SizeGroup : GLib.Object, Gtk.Buildable {
[CCode (has_construct_function = false)]
@@ -4793,6 +4786,14 @@ namespace Gtk {
public Gtk.Widget visible_child { get; set; }
public string visible_child_name { get; set; }
}
+ [CCode (cheader_filename = "gtk/gtk.h")]
+ public class StackSidebar : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
+ [CCode (has_construct_function = false, type = "GtkWidget*")]
+ public StackSidebar ();
+ public unowned Gtk.Stack get_stack ();
+ public void set_stack (Gtk.Stack stack);
+ public Gtk.Stack stack { get; set; }
+ }
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_stack_switcher_get_type ()")]
public class StackSwitcher : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
@@ -8704,6 +8705,8 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
public delegate int KeySnoopFunc (Gtk.Widget grab_widget, Gdk.EventKey event);
[CCode (cheader_filename = "gtk/gtk.h")]
+ public delegate Gtk.Widget ListBoxCreateWidgetFunc (void* item);
+ [CCode (cheader_filename = "gtk/gtk.h")]
public delegate bool ListBoxFilterFunc (Gtk.ListBoxRow row);
[CCode (cheader_filename = "gtk/gtk.h")]
public delegate void ListBoxForeachFunc (Gtk.ListBox box, Gtk.ListBoxRow row);
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.gi b/vapi/packages/gtk+-3.0/gtk+-3.0.gi
index a8367f7..6749929 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.gi
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.gi
@@ -1777,6 +1777,13 @@
<parameter name="func_data" type="gpointer"/>
</parameters>
</callback>
+ <callback name="GtkListBoxCreateWidgetFunc">
+ <return-type type="GtkWidget*"/>
+ <parameters>
+ <parameter name="item" type="gpointer"/>
+ <parameter name="user_data" type="gpointer"/>
+ </parameters>
+ </callback>
<callback name="GtkListBoxFilterFunc">
<return-type type="gboolean"/>
<parameters>
@@ -13650,10 +13657,12 @@
<parameter name="area" type="GtkGLArea*"/>
</parameters>
</method>
- <method name="get_profile" symbol="gtk_gl_area_get_profile">
- <return-type type="GdkGLProfile"/>
+ <method name="get_required_version" symbol="gtk_gl_area_get_required_version">
+ <return-type type="void"/>
<parameters>
<parameter name="area" type="GtkGLArea*"/>
+ <parameter name="major" type="int*"/>
+ <parameter name="minor" type="int*"/>
</parameters>
</method>
<method name="make_current" symbol="gtk_gl_area_make_current">
@@ -13706,11 +13715,12 @@
<parameter name="has_stencil_buffer" type="gboolean"/>
</parameters>
</method>
- <method name="set_profile" symbol="gtk_gl_area_set_profile">
+ <method name="set_required_version" symbol="gtk_gl_area_set_required_version">
<return-type type="void"/>
<parameters>
<parameter name="area" type="GtkGLArea*"/>
- <parameter name="profile" type="GdkGLProfile"/>
+ <parameter name="major" type="int"/>
+ <parameter name="minor" type="int"/>
</parameters>
</method>
<property name="auto-render" type="gboolean" readable="1" writable="1" construct="0"
construct-only="0"/>
@@ -13718,7 +13728,6 @@
<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="profile" type="GdkGLProfile" readable="1" writable="1" construct="1"
construct-only="0"/>
<signal name="create-context" when="LAST">
<return-type type="GdkGLContext*"/>
<parameters>
@@ -17005,6 +17014,16 @@
<interface name="AtkImplementor"/>
<interface name="GtkBuildable"/>
</implements>
+ <method name="bind_model" symbol="gtk_list_box_bind_model">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="box" type="GtkListBox*"/>
+ <parameter name="model" type="GListModel*"/>
+ <parameter name="create_widget_func"
type="GtkListBoxCreateWidgetFunc"/>
+ <parameter name="user_data" type="gpointer"/>
+ <parameter name="user_data_free_func" type="GDestroyNotify"/>
+ </parameters>
+ </method>
<method name="drag_highlight_row" symbol="gtk_list_box_drag_highlight_row">
<return-type type="void"/>
<parameters>
@@ -18552,6 +18571,13 @@
<parameter name="menu_label" type="GtkWidget*"/>
</parameters>
</method>
+ <method name="detach_tab" symbol="gtk_notebook_detach_tab">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="notebook" type="GtkNotebook*"/>
+ <parameter name="child" type="GtkWidget*"/>
+ </parameters>
+ </method>
<method name="get_action_widget" symbol="gtk_notebook_get_action_widget">
<return-type type="GtkWidget*"/>
<parameters>
@@ -22432,29 +22458,6 @@
<property name="gtk-xft-hintstyle" type="char*" readable="1" writable="1"
construct="0" construct-only="0"/>
<property name="gtk-xft-rgba" type="char*" readable="1" writable="1" construct="0"
construct-only="0"/>
</object>
- <object name="GtkSidebar" parent="GtkBin" type-name="GtkSidebar"
get-type="gtk_sidebar_get_type">
- <implements>
- <interface name="AtkImplementor"/>
- <interface name="GtkBuildable"/>
- </implements>
- <method name="get_stack" symbol="gtk_sidebar_get_stack">
- <return-type type="GtkStack*"/>
- <parameters>
- <parameter name="sidebar" type="GtkSidebar*"/>
- </parameters>
- </method>
- <constructor name="new" symbol="gtk_sidebar_new">
- <return-type type="GtkWidget*"/>
- </constructor>
- <method name="set_stack" symbol="gtk_sidebar_set_stack">
- <return-type type="void"/>
- <parameters>
- <parameter name="sidebar" type="GtkSidebar*"/>
- <parameter name="stack" type="GtkStack*"/>
- </parameters>
- </method>
- <property name="stack" type="GtkStack*" readable="1" writable="1" construct="0"
construct-only="0"/>
- </object>
<object name="GtkSizeGroup" parent="GObject" type-name="GtkSizeGroup"
get-type="gtk_size_group_get_type">
<implements>
<interface name="GtkBuildable"/>
@@ -22954,6 +22957,29 @@
<property name="visible-child" type="GtkWidget*" readable="1" writable="1"
construct="0" construct-only="0"/>
<property name="visible-child-name" type="char*" readable="1" writable="1"
construct="0" construct-only="0"/>
</object>
+ <object name="GtkStackSidebar" parent="GtkBin" type-name="GtkStackSidebar"
get-type="gtk_stack_sidebar_get_type">
+ <implements>
+ <interface name="AtkImplementor"/>
+ <interface name="GtkBuildable"/>
+ </implements>
+ <method name="get_stack" symbol="gtk_stack_sidebar_get_stack">
+ <return-type type="GtkStack*"/>
+ <parameters>
+ <parameter name="sidebar" type="GtkStackSidebar*"/>
+ </parameters>
+ </method>
+ <constructor name="new" symbol="gtk_stack_sidebar_new">
+ <return-type type="GtkWidget*"/>
+ </constructor>
+ <method name="set_stack" symbol="gtk_stack_sidebar_set_stack">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="sidebar" type="GtkStackSidebar*"/>
+ <parameter name="stack" type="GtkStack*"/>
+ </parameters>
+ </method>
+ <property name="stack" type="GtkStack*" readable="1" writable="1" construct="0"
construct-only="0"/>
+ </object>
<object name="GtkStackSwitcher" parent="GtkBox" type-name="GtkStackSwitcher"
get-type="gtk_stack_switcher_get_type">
<implements>
<interface name="AtkImplementor"/>
@@ -35459,14 +35485,14 @@
</parameters>
</vfunc>
</interface>
- <constant name="GTK_BINARY_AGE" type="int" value="1505"/>
+ <constant name="GTK_BINARY_AGE" type="int" value="1507"/>
<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="5"/>
+ <constant name="GTK_MICRO_VERSION" type="int" value="7"/>
<constant name="GTK_MINOR_VERSION" type="int" value="15"/>
<constant name="GTK_PAPER_NAME_A3" type="char*" value="iso_a3"/>
<constant name="GTK_PAPER_NAME_A4" type="char*" value="iso_a4"/>
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 54d4b4e..7599e61 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -452,6 +452,8 @@ gtk_gesture_single_get_current_sequence transfer_ownership="1"
gtk_gesture_swipe_get_velocity.velocity_x is_out="1"
gtk_gesture_swipe_get_velocity.velocity_y is_out="1"
gtk_gl_area_get_error nullable="1"
+gtk_gl_area_get_required_version.major is_out="1"
+gtk_gl_area_get_required_version.minor is_out="1"
gtk_gl_area_set_error.error nullable="1"
GtkGLArea::create_context transfer_ownership="1"
gtk_gradient_resolve.resolved_gradient transfer_ownership="1"
@@ -585,6 +587,9 @@ gtk_layout_get_size.width is_out="1"
gtk_layout_get_size.height is_out="1"
gtk_layout_new.hadjustment nullable="1" default_value="null"
gtk_layout_new.vadjustment nullable="1" default_value="null"
+gtk_list_box_bind_model.create_widget_func transfer_ownership="1"
+gtk_list_box_bind_model.model nullable="1"
+gtk_list_box_bind_model.user_data_free_func hidden="1"
gtk_list_box_get_selected_rows transfer_ownership="1" type_arguments="unowned ListBoxRow"
gtk_list_box_selected_foreach.data hidden="1"
gtk_list_box_row_set_header.header nullable="1"
@@ -600,6 +605,7 @@ gtk_list_box_set_sort_func.destroy hidden="1"
GtkListBox::select_all has_emitter="1"
GtkListBox::row_selected.row nullable="1"
GtkListBox::unselect_all has_emitter="1"
+GtkListBoxCreateWidgetFunc transfer_ownership="1"
gtk_list_store_new ellipsis="1" sentinel="-1"
gtk_list_store_newv.n_columns hidden="1"
gtk_list_store_newv.types array_length_pos="0.9"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]