[vala] gtk-2.0, gtk-3.0: fix rgb_to_hsv argument directions



commit ecb49b74fa98a1b693b2b7e078754c248ade7a28
Author: Evan Nemerson <evan coeus-group com>
Date:   Mon Dec 9 20:38:57 2013 -0800

    gtk-2.0, gtk-3.0: fix rgb_to_hsv argument directions

 vapi/gtk+-2.0.vapi                       |    2 +-
 vapi/gtk+-3.0.vapi                       |    2 +-
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    3 +++
 vapi/packages/gtk+-3.0/gtk+-3.0.metadata |    3 +++
 4 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 350d63f..27caa6b 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -8344,7 +8344,7 @@ namespace Gtk {
        [CCode (cheader_filename = "gtk/gtk.h")]
        public static void rc_set_default_files (string filenames);
        [CCode (cheader_filename = "gtk/gtk.h")]
-       public static void rgb_to_hsv (double r, double g, double b, double h, double s, double v);
+       public static void rgb_to_hsv (double r, double g, double b, out double h, out double s, out double 
v);
        [CCode (cheader_filename = "gtk/gtk.h")]
        public static void selection_add_target (Gtk.Widget widget, Gdk.Atom selection, Gdk.Atom target, uint 
info);
        [CCode (cheader_filename = "gtk/gtk.h")]
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index daaec99..317d94f 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -9360,7 +9360,7 @@ namespace Gtk {
        [Deprecated (replacement = "StyleContext.render_slider", since = "vala-0.16")]
        public static void render_slider (Gtk.StyleContext context, Cairo.Context cr, double x, double y, 
double width, double height, Gtk.Orientation orientation);
        [CCode (cheader_filename = "gtk/gtk.h")]
-       public static void rgb_to_hsv (double r, double g, double b, double h, double s, double v);
+       public static void rgb_to_hsv (double r, double g, double b, out double h, out double s, out double 
v);
        [CCode (cheader_filename = "gtk/gtk.h")]
        public static void selection_add_target (Gtk.Widget widget, Gdk.Atom selection, Gdk.Atom target, uint 
info);
        [CCode (cheader_filename = "gtk/gtk.h")]
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 01321c6..54814ba 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -1002,3 +1002,6 @@ GtkWidget::selection_notify_event.event namespace_name="Gdk" type_name="EventSel
 GtkWidget::selection_request_event.event namespace_name="Gdk" type_name="EventSelection"
 GtkWidget::visibility_event.event namespace_name="Gdk" type_name="EventVisibility"
 GtkWidget::window_state_event.event namespace_name="Gdk" type_name="EventWindowState"
+gtk_rgb_to_hsv.h is_out="1"
+gtk_rgb_to_hsv.s is_out="1"
+gtk_rgb_to_hsv.v is_out="1"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index fa04de1..d50bc5c 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -1330,5 +1330,8 @@ gtk_render_layout deprecated_since="vala-0.16" replacement="StyleContext.render_
 gtk_render_line deprecated_since="vala-0.16" replacement="StyleContext.render_line"
 gtk_render_option deprecated_since="vala-0.16" replacement="StyleContext.render_option"
 gtk_render_slider deprecated_since="vala-0.16" replacement="StyleContext.render_slider"
+gtk_rgb_to_hsv.h is_out="1"
+gtk_rgb_to_hsv.s is_out="1"
+gtk_rgb_to_hsv.v is_out="1"
 
 *._g_sealed__* hidden="1"


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