[vala] gtk+-3.0: update to 3.13.3~200bdf1a
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk+-3.0: update to 3.13.3~200bdf1a
- Date: Wed, 11 Jun 2014 14:47:15 +0000 (UTC)
commit 8ce8134bdebc23832e2352f3f53a9ad2368b037f
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Wed Jun 11 16:46:04 2014 +0200
gtk+-3.0: update to 3.13.3~200bdf1a
vapi/gtk+-3.0.vapi | 33 +++++--------
vapi/packages/gtk+-3.0/gtk+-3.0.gi | 73 +++++++++++------------------
vapi/packages/gtk+-3.0/gtk+-3.0.metadata | 2 +-
3 files changed, 42 insertions(+), 66 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index c62e4bd..5fd9a9f 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -2004,15 +2004,11 @@ namespace Gtk {
public class EventController : GLib.Object {
[CCode (has_construct_function = false)]
protected EventController ();
- public Gdk.EventMask get_event_mask ();
+ public Gtk.PropagationPhase get_propagation_phase ();
public unowned Gtk.Widget get_widget ();
- public void set_event_mask (Gdk.EventMask event_mask);
- public Gdk.EventMask event_mask { get; set; }
+ public void set_propagation_phase (Gtk.PropagationPhase phase);
+ public Gtk.PropagationPhase propagation_phase { get; set; }
public Gtk.Widget widget { get; construct; }
- [HasEmitter]
- public virtual signal bool handle_event (Gdk.Event p0);
- [HasEmitter]
- public virtual signal void reset ();
}
[CCode (cheader_filename = "gtk/gtk.h")]
public class Expander : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
@@ -2293,8 +2289,6 @@ namespace Gtk {
public class Gesture : Gtk.EventController {
[CCode (has_construct_function = false)]
protected Gesture ();
- public void attach (Gtk.PropagationPhase phase);
- public void detach ();
public bool get_bounding_box (out Gdk.Rectangle rect);
public bool get_bounding_box_center (out double x, out double y);
public unowned Gdk.Device? get_device ();
@@ -2353,17 +2347,17 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public class GesturePan : Gtk.GestureDrag {
[CCode (has_construct_function = false, type = "GtkGesture*")]
- public GesturePan (Gtk.Widget widget, Gtk.PanOrientation orientation);
- public Gtk.PanOrientation get_orientation ();
- public void set_orientation (Gtk.PanOrientation orientation);
- public Gtk.PanOrientation orientation { get; set; }
+ public GesturePan (Gtk.Widget widget, Gtk.Orientation orientation);
+ public Gtk.Orientation get_orientation ();
+ public void set_orientation (Gtk.Orientation orientation);
+ public Gtk.Orientation orientation { get; set; }
public virtual signal void pan (Gtk.PanDirection p0, double p1);
}
[CCode (cheader_filename = "gtk/gtk.h")]
public class GestureRotate : Gtk.Gesture {
[CCode (has_construct_function = false, type = "GtkGesture*")]
public GestureRotate (Gtk.Widget widget);
- public bool get_angle_delta (out double delta);
+ public double get_angle_delta ();
public virtual signal void angle_changed (double p0, double p1);
}
[CCode (cheader_filename = "gtk/gtk.h")]
@@ -2393,7 +2387,7 @@ namespace Gtk {
public class GestureZoom : Gtk.Gesture {
[CCode (has_construct_function = false, type = "GtkGesture*")]
public GestureZoom (Gtk.Widget widget);
- public bool get_scale_delta (double scale);
+ public double get_scale_delta ();
public virtual signal void scale_changed (double p0);
}
[CCode (cheader_filename = "gtk/gtk.h", ref_function = "gtk_gradient_ref", type_id =
"gtk_gradient_get_type ()", unref_function = "gtk_gradient_unref")]
@@ -6396,6 +6390,7 @@ namespace Gtk {
[Deprecated (replacement = "get_preferred_size", since = "3.0")]
public void get_child_requisition (out Gtk.Requisition requisition);
public bool get_child_visible ();
+ public void get_clip (out Gtk.Allocation clip);
public unowned Gtk.Clipboard get_clipboard (Gdk.Atom selection);
public unowned string get_composite_name ();
public static Gtk.TextDirection get_default_direction ();
@@ -6555,6 +6550,7 @@ namespace Gtk {
public void set_can_default (bool can_default);
public void set_can_focus (bool can_focus);
public void set_child_visible (bool is_visible);
+ public void set_clip (Gtk.Allocation clip);
public void set_composite_name (string name);
[CCode (cname = "gtk_widget_class_set_connect_func")]
public class void set_connect_func (Gtk.BuilderConnectFunc connect_func, void* connect_data,
GLib.DestroyNotify connect_data_destroy);
@@ -8050,11 +8046,6 @@ namespace Gtk {
UP,
DOWN
}
- [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PAN_ORIENTATION_")]
- public enum PanOrientation {
- VERTICAL,
- HORIZONTAL
- }
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PATH_PRIO_")]
public enum PathPriorityType {
LOWEST,
@@ -9126,6 +9117,8 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public const string STYLE_CLASS_CONTEXT_MENU;
[CCode (cheader_filename = "gtk/gtk.h")]
+ public const string STYLE_CLASS_CSD;
+ [CCode (cheader_filename = "gtk/gtk.h")]
public const string STYLE_CLASS_CURSOR_HANDLE;
[CCode (cheader_filename = "gtk/gtk.h")]
public const string STYLE_CLASS_DEFAULT;
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.gi b/vapi/packages/gtk+-3.0/gtk+-3.0.gi
index a8bcadf..6ac7398 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.gi
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.gi
@@ -4873,10 +4873,6 @@
<member name="GTK_PAN_DIRECTION_UP" value="2"/>
<member name="GTK_PAN_DIRECTION_DOWN" value="3"/>
</enum>
- <enum name="GtkPanOrientation" type-name="GtkPanOrientation"
get-type="gtk_pan_orientation_get_type">
- <member name="GTK_PAN_ORIENTATION_VERTICAL" value="0"/>
- <member name="GTK_PAN_ORIENTATION_HORIZONTAL" value="1"/>
- </enum>
<enum name="GtkPathPriorityType" type-name="GtkPathPriorityType"
get-type="gtk_path_priority_type_get_type">
<member name="GTK_PATH_PRIO_LOWEST" value="0"/>
<member name="GTK_PATH_PRIO_GTK" value="4"/>
@@ -12408,8 +12404,8 @@
<property name="visible-window" type="gboolean" readable="1" writable="1"
construct="0" construct-only="0"/>
</object>
<object name="GtkEventController" parent="GObject" type-name="GtkEventController"
get-type="gtk_event_controller_get_type">
- <method name="get_event_mask" symbol="gtk_event_controller_get_event_mask">
- <return-type type="GdkEventMask"/>
+ <method name="get_propagation_phase"
symbol="gtk_event_controller_get_propagation_phase">
+ <return-type type="GtkPropagationPhase"/>
<parameters>
<parameter name="controller" type="GtkEventController*"/>
</parameters>
@@ -12433,28 +12429,15 @@
<parameter name="controller" type="GtkEventController*"/>
</parameters>
</method>
- <method name="set_event_mask" symbol="gtk_event_controller_set_event_mask">
+ <method name="set_propagation_phase"
symbol="gtk_event_controller_set_propagation_phase">
<return-type type="void"/>
<parameters>
<parameter name="controller" type="GtkEventController*"/>
- <parameter name="event_mask" type="GdkEventMask"/>
+ <parameter name="phase" type="GtkPropagationPhase"/>
</parameters>
</method>
- <property name="event-mask" type="GdkEventMask" readable="1" writable="1"
construct="0" construct-only="0"/>
+ <property name="propagation-phase" type="GtkPropagationPhase" readable="1"
writable="1" construct="0" construct-only="0"/>
<property name="widget" type="GtkWidget*" readable="1" writable="1" construct="0"
construct-only="1"/>
- <signal name="handle-event" when="LAST">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="object" type="GtkEventController*"/>
- <parameter name="p0" type="GdkEvent*"/>
- </parameters>
- </signal>
- <signal name="reset" when="LAST">
- <return-type type="void"/>
- <parameters>
- <parameter name="object" type="GtkEventController*"/>
- </parameters>
- </signal>
</object>
<object name="GtkExpander" parent="GtkBin" type-name="GtkExpander"
get-type="gtk_expander_get_type">
<implements>
@@ -13514,19 +13497,6 @@
</implements>
</object>
<object name="GtkGesture" parent="GtkEventController" type-name="GtkGesture"
get-type="gtk_gesture_get_type">
- <method name="attach" symbol="gtk_gesture_attach">
- <return-type type="void"/>
- <parameters>
- <parameter name="gesture" type="GtkGesture*"/>
- <parameter name="phase" type="GtkPropagationPhase"/>
- </parameters>
- </method>
- <method name="detach" symbol="gtk_gesture_detach">
- <return-type type="void"/>
- <parameters>
- <parameter name="gesture" type="GtkGesture*"/>
- </parameters>
- </method>
<method name="get_bounding_box" symbol="gtk_gesture_get_bounding_box">
<return-type type="gboolean"/>
<parameters>
@@ -13813,7 +13783,7 @@
</object>
<object name="GtkGesturePan" parent="GtkGestureDrag" type-name="GtkGesturePan"
get-type="gtk_gesture_pan_get_type">
<method name="get_orientation" symbol="gtk_gesture_pan_get_orientation">
- <return-type type="GtkPanOrientation"/>
+ <return-type type="GtkOrientation"/>
<parameters>
<parameter name="gesture" type="GtkGesturePan*"/>
</parameters>
@@ -13822,17 +13792,17 @@
<return-type type="GtkGesture*"/>
<parameters>
<parameter name="widget" type="GtkWidget*"/>
- <parameter name="orientation" type="GtkPanOrientation"/>
+ <parameter name="orientation" type="GtkOrientation"/>
</parameters>
</constructor>
<method name="set_orientation" symbol="gtk_gesture_pan_set_orientation">
<return-type type="void"/>
<parameters>
<parameter name="gesture" type="GtkGesturePan*"/>
- <parameter name="orientation" type="GtkPanOrientation"/>
+ <parameter name="orientation" type="GtkOrientation"/>
</parameters>
</method>
- <property name="orientation" type="GtkPanOrientation" readable="1" writable="1"
construct="0" construct-only="0"/>
+ <property name="orientation" type="GtkOrientation" readable="1" writable="1"
construct="0" construct-only="0"/>
<signal name="pan" when="LAST">
<return-type type="void"/>
<parameters>
@@ -13844,10 +13814,9 @@
</object>
<object name="GtkGestureRotate" parent="GtkGesture" type-name="GtkGestureRotate"
get-type="gtk_gesture_rotate_get_type">
<method name="get_angle_delta" symbol="gtk_gesture_rotate_get_angle_delta">
- <return-type type="gboolean"/>
+ <return-type type="gdouble"/>
<parameters>
<parameter name="gesture" type="GtkGestureRotate*"/>
- <parameter name="delta" type="gdouble*"/>
</parameters>
</method>
<constructor name="new" symbol="gtk_gesture_rotate_new">
@@ -13947,10 +13916,9 @@
</object>
<object name="GtkGestureZoom" parent="GtkGesture" type-name="GtkGestureZoom"
get-type="gtk_gesture_zoom_get_type">
<method name="get_scale_delta" symbol="gtk_gesture_zoom_get_scale_delta">
- <return-type type="gboolean"/>
+ <return-type type="gdouble"/>
<parameters>
<parameter name="gesture" type="GtkGestureZoom*"/>
- <parameter name="scale" type="gdouble*"/>
</parameters>
</method>
<constructor name="new" symbol="gtk_gesture_zoom_new">
@@ -29436,6 +29404,13 @@
<parameter name="widget" type="GtkWidget*"/>
</parameters>
</method>
+ <method name="get_clip" symbol="gtk_widget_get_clip">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="widget" type="GtkWidget*"/>
+ <parameter name="clip" type="GtkAllocation*"/>
+ </parameters>
+ </method>
<method name="get_clipboard" symbol="gtk_widget_get_clipboard">
<return-type type="GtkClipboard*"/>
<parameters>
@@ -30316,6 +30291,13 @@
<parameter name="is_visible" type="gboolean"/>
</parameters>
</method>
+ <method name="set_clip" symbol="gtk_widget_set_clip">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="widget" type="GtkWidget*"/>
+ <parameter name="clip" type="GtkAllocation*"/>
+ </parameters>
+ </method>
<method name="set_composite_name" symbol="gtk_widget_set_composite_name">
<return-type type="void"/>
<parameters>
@@ -34933,14 +34915,14 @@
</parameters>
</vfunc>
</interface>
- <constant name="GTK_BINARY_AGE" type="int" value="1301"/>
+ <constant name="GTK_BINARY_AGE" type="int" value="1303"/>
<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="1"/>
+ <constant name="GTK_MICRO_VERSION" type="int" value="3"/>
<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"/>
@@ -34993,6 +34975,7 @@
<constant name="GTK_STYLE_CLASS_CHECK" type="char*" value="check"/>
<constant name="GTK_STYLE_CLASS_COMBOBOX_ENTRY" type="char*" value="combobox-entry"/>
<constant name="GTK_STYLE_CLASS_CONTEXT_MENU" type="char*" value="context-menu"/>
+ <constant name="GTK_STYLE_CLASS_CSD" type="char*" value="csd"/>
<constant name="GTK_STYLE_CLASS_CURSOR_HANDLE" type="char*" value="cursor-handle"/>
<constant name="GTK_STYLE_CLASS_DEFAULT" type="char*" value="default"/>
<constant name="GTK_STYLE_CLASS_DESTRUCTIVE_ACTION" type="char*" value="destructive-action"/>
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 6b47a4b..364699e 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -364,7 +364,6 @@ gtk_gesture_drag_get_offset.y is_out="1"
gtk_gesture_drag_get_start_point.x is_out="1"
gtk_gesture_drag_get_start_point.y is_out="1"
gtk_gesture_multi_press_get_area.rect is_out="1"
-gtk_gesture_rotate_get_angle_delta.delta is_out="1"
GtkHandleBox deprecated_since="3.4"
GtkHBox deprecated_since="3.2" replacement="Grid"
GtkHPaned deprecated_since="3.2" replacement="Paned"
@@ -1204,6 +1203,7 @@ GtkWidget::event has_emitter="1"
gtk_widget_get_allocation.allocation is_out="1"
gtk_widget_get_child_requisition deprecated_since="3.0" replacement="get_preferred_size"
gtk_widget_get_child_requisition.requisition is_out="1"
+gtk_widget_get_clip.clip is_out="1"
gtk_widget_get_default_style deprecated_since="3.0" replacement="StyleContext, and CssProvider.get_default()
to obtain a Gtk.StyleProvider with the default widget style information"
gtk_widget_get_modifier_style deprecated_since="3.0" replacement="StyleContext with a custom StyleProvider"
gtk_widget_get_requisition deprecated_since="3.0"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]