mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 03:10:09 +00:00
GtkThemingEngine: Fix parameters for gtk_theming_engine_lookup_color()
This commit is contained in:
parent
8c02445bc5
commit
1c87180d5d
@ -546,17 +546,16 @@ gtk_theming_engine_get_style (GtkThemingEngine *engine,
|
||||
* gtk_theming_engine_lookup_color:
|
||||
* @engine: a #GtkThemingEngine
|
||||
* @color_name: color name to lookup
|
||||
* @color: (out) (transfer full): Return location for the looked up color
|
||||
* @color: (out): Return location for the looked up color
|
||||
*
|
||||
* Looks up and resolves a color name in the current style's color map.
|
||||
* The returned color must be freed with gdk_rgba_free().
|
||||
*
|
||||
* Returns: %TRUE if @color_name was found and resolved, %FALSE otherwise
|
||||
**/
|
||||
gboolean
|
||||
gtk_theming_engine_lookup_color (GtkThemingEngine *engine,
|
||||
const gchar *color_name,
|
||||
GdkRGBA **color)
|
||||
gtk_theming_engine_lookup_color (GtkThemingEngine *engine,
|
||||
const gchar *color_name,
|
||||
GdkRGBA *color)
|
||||
{
|
||||
GtkThemingEnginePrivate *priv;
|
||||
|
||||
|
@ -198,9 +198,9 @@ void gtk_theming_engine_get_style_valist (GtkThemingEngine *engine,
|
||||
void gtk_theming_engine_get_style (GtkThemingEngine *engine,
|
||||
...);
|
||||
|
||||
gboolean gtk_theming_engine_lookup_color (GtkThemingEngine *engine,
|
||||
const gchar *color_name,
|
||||
GdkRGBA **color);
|
||||
gboolean gtk_theming_engine_lookup_color (GtkThemingEngine *engine,
|
||||
const gchar *color_name,
|
||||
GdkRGBA *color);
|
||||
|
||||
G_CONST_RETURN GtkWidgetPath * gtk_theming_engine_get_path (GtkThemingEngine *engine);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user