summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse van den Kieboom <jesse.vandenkieboom@epfl.ch>2012-05-04 17:31:39 +0200
committerJürg Billeter <j@bitron.ch>2012-06-23 17:31:40 +0200
commitfae3ed38f2226e66be791d7b66c55f2eb135a34f (patch)
treeceec9e096e308e2604bc49647957b037e9965bae
parent77d69f4279d5c525f16b063083dedf59bef7d191 (diff)
downloadvala-fae3ed38f2226e66be791d7b66c55f2eb135a34f.tar.gz
Added is_out annotation for StyleContext.lookup_color
Fixes bug 675403.
-rw-r--r--vapi/gtk+-3.0.vapi2
-rw-r--r--vapi/packages/gtk+-3.0/gtk+-3.0.metadata1
2 files changed, 2 insertions, 1 deletions
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index ce3974a98..176ca9080 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -4103,7 +4103,7 @@ namespace Gtk {
public void invalidate ();
public unowned GLib.List list_classes ();
public unowned GLib.List list_regions ();
- public bool lookup_color (string color_name, Gdk.RGBA color);
+ public bool lookup_color (string color_name, out Gdk.RGBA color);
public unowned Gtk.IconSet lookup_icon_set (string stock_id);
public void notify_state_change (Gdk.Window window, void* region_id, Gtk.StateType state, bool state_value);
public void pop_animatable_region ();
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 64df80562..a13939c8e 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -652,6 +652,7 @@ gtk_style_context_get_padding type_name="Gtk.Border"
gtk_style_context_get_padding.padding hidden="1"
gtk_style_context_get_style ellipsis="1"
gtk_style_context_has_region.flags_return is_out="1"
+gtk_style_context_lookup_color.color is_out="1"
gtk_style_lookup_color.color is_out="1"
gtk_style_get_style_property.value is_out="1"
gtk_style_properties_register_property.parse_func nullable="1"