Skip to content

Commit

Permalink
Fix documentation for gtk_widget_get_style_color()
Browse files Browse the repository at this point in the history
It was pointing at `gtk_widget_get_css_style()` instead.
  • Loading branch information
sdroege committed Oct 14, 2022
1 parent bde19f9 commit 294e5bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gtk/gtkwidget.c
Original file line number Diff line number Diff line change
Expand Up @@ -12871,7 +12871,7 @@ gtk_widget_set_css_classes (GtkWidget *widget,
}

/**
* gtk_widget_get_css_style:
* gtk_widget_get_style_color:
* @widget: a `GtkWidget`
* @color: (out): return location for the color
*
Expand Down
2 changes: 1 addition & 1 deletion gtk/gtkwidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@ void gtk_widget_set_css_classes (GtkWidget *widget,

GDK_AVAILABLE_IN_4_10
void gtk_widget_get_style_color (GtkWidget *widget,
GdkRGBA *rgba);
GdkRGBA *color);


/**
Expand Down

0 comments on commit 294e5bb

Please sign in to comment.