gtk+: Fix GI warnings about missing parameters

These were removed for GTK+ 4.
This commit is contained in:
Garrett Regier 2016-10-17 07:02:37 -07:00
parent a0aa1d963a
commit 7173df1dd1
2 changed files with 2 additions and 15 deletions

View File

@ -270,18 +270,10 @@ gtk_symbolic_color_unref (GtkSymbolicColor *color)
/**
* gtk_symbolic_color_resolve:
* @color: a #GtkSymbolicColor
* @props: (allow-none): #GtkStyleProperties to use when resolving
* named colors, or %NULL
* @resolved_color: (out): return location for the resolved color
*
* If @color is resolvable, @resolved_color will be filled in
* with the resolved color, and %TRUE will be returned. Generally,
* if @color cant be resolved, it is due to it being defined on
* top of a named color that doesnt exist in @props.
*
* When @props is %NULL, resolving of named colors will fail, so if
* your @color is or references such a color, this function will
* return %FALSE.
* with the resolved color, and %TRUE will be returned.
*
* Returns: %TRUE if the color has been resolved
*

View File

@ -741,20 +741,15 @@ gtk_style_context_query_func (guint id,
* gtk_style_context_get_property:
* @context: a #GtkStyleContext
* @property: style property name
* @state: state to retrieve the property value for
* @value: (out) (transfer full): return location for the style property value
*
* Gets a style property from @context for the given state.
* Gets a style property from @context for the current state.
*
* Note that not all CSS properties that are supported by GTK+ can be
* retrieved in this way, since they may not be representable as #GValue.
* GTK+ defines macros for a number of properties that can be used
* with this function.
*
* Note that passing a state other than the current state of @context
* is not recommended unless the style context has been saved with
* gtk_style_context_save().
*
* When @value is no longer needed, g_value_unset() must be called
* to free any allocated memory.
*