[vala/0.38] gtk+-3.0: Don't mark simple-type out-parameters with '?' as nullable
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.38] gtk+-3.0: Don't mark simple-type out-parameters with '?' as nullable
- Date: Mon, 11 Dec 2017 08:56:47 +0000 (UTC)
commit 89b26330fdf235563215e48226d58a8e6fde0ac1
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Mon Dec 11 09:51:50 2017 +0100
gtk+-3.0: Don't mark simple-type out-parameters with '?' as nullable
vapi/gtk+-3.0.vapi | 6 +++---
vapi/packages/gtk+-3.0/gtk+-3.0.metadata | 12 ++++++------
2 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index d1a1758..aa468dd 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -2371,7 +2371,7 @@ namespace Gtk {
public GLib.List<weak Gtk.Gesture> get_group ();
public unowned Gdk.Event? get_last_event (Gdk.EventSequence sequence);
public unowned Gdk.EventSequence? get_last_updated_sequence ();
- public bool get_point (Gdk.EventSequence? sequence, out double? x = null, out double? y =
null);
+ public bool get_point (Gdk.EventSequence? sequence, out double x = null, out double y = null);
public Gtk.EventSequenceState get_sequence_state (Gdk.EventSequence sequence);
public GLib.List<weak Gdk.EventSequence> get_sequences ();
public unowned Gdk.Window? get_window ();
@@ -2397,8 +2397,8 @@ namespace Gtk {
public class GestureDrag : Gtk.GestureSingle {
[CCode (has_construct_function = false, type = "GtkGesture*")]
public GestureDrag (Gtk.Widget widget);
- public bool get_offset (out double? x, out double? y);
- public bool get_start_point (out double? x, out double? y);
+ public bool get_offset (out double x, out double y);
+ public bool get_start_point (out double x, out double y);
public virtual signal void drag_begin (double p0, double p1);
public virtual signal void drag_end (double p0, double p1);
public virtual signal void drag_update (double p0, double p1);
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index cbcca0e..7ac6358 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -550,15 +550,15 @@ gtk_gesture_get_group transfer_ownership="1" type_arguments="unowned Gtk.Gesture
gtk_gesture_get_last_event nullable="1"
gtk_gesture_get_last_updated_sequence nullable="1"
gtk_gesture_get_point.sequence nullable="1"
-gtk_gesture_get_point.x is_out="1" nullable="1" default_value="null" transfer_ownership="1"
-gtk_gesture_get_point.y is_out="1" nullable="1" default_value="null" transfer_ownership="1"
+gtk_gesture_get_point.x is_out="1" default_value="null"
+gtk_gesture_get_point.y is_out="1" default_value="null"
gtk_gesture_get_sequences transfer_ownership="1" type_arguments="unowned Gdk.EventSequence"
gtk_gesture_get_window nullable="1"
gtk_gesture_set_window.window nullable="1"
-gtk_gesture_drag_get_offset.x is_out="1" nullable="1" transfer_ownership="1"
-gtk_gesture_drag_get_offset.y is_out="1" nullable="1" transfer_ownership="1"
-gtk_gesture_drag_get_start_point.x is_out="1" nullable="1" transfer_ownership="1"
-gtk_gesture_drag_get_start_point.y is_out="1" nullable="1" transfer_ownership="1"
+gtk_gesture_drag_get_offset.x is_out="1"
+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_multi_press_set_area.rect nullable="1"
gtk_gesture_single_get_current_sequence transfer_ownership="1" nullable="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]