Commit ecb49b74 authored by Evan Nemerson's avatar Evan Nemerson

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

parent 2cef3280
......@@ -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")]
......
......@@ -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")]
......
......@@ -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"
......@@ -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"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment