Commit 7cf3eec8 authored by Matthias Clasen's avatar Matthias Clasen

Add since tags to new api

gtk_widget_class_set/get_css_name were missing it.
parent 5a0a870d
......@@ -16321,11 +16321,13 @@ gtk_widget_clear_path (GtkWidget *widget)
* @widget_class: class to set the name on
* @name: name to use
*
* Sets the name to be used for CSS matching of widgets.
* Sets the name to be used for CSS matching of widgets.
*
* If this function is not calles for a given class, the name
* If this function is not called for a given class, the name
* of the parent class is used.
**/
*
* Since: 3.20
*/
void
gtk_widget_class_set_css_name (GtkWidgetClass *widget_class,
const char *name)
......@@ -16344,10 +16346,12 @@ gtk_widget_class_set_css_name (GtkWidgetClass *widget_class,
* gtk_widget_class_get_css_name:
* @widget_class: class to set the name on
*
* Gets the name used by this class for matching in CSS code. See
* Gets the name used by this class for matching in CSS code. See
* gtk_widget_class_set_css_name() for details.
*
* Returns: the CSS name of the given class.
* Returns: the CSS name of the given class
*
* Since: 3.20
*/
const char *
gtk_widget_class_get_css_name (GtkWidgetClass *widget_class)
......
......@@ -1302,10 +1302,10 @@ GtkStyleContext * gtk_widget_get_style_context (GtkWidget *widget);
GDK_AVAILABLE_IN_ALL
GtkWidgetPath * gtk_widget_get_path (GtkWidget *widget);
/*GDK_AVAILABLE_IN_3_20*/
GDK_AVAILABLE_IN_3_20
void gtk_widget_class_set_css_name (GtkWidgetClass *widget_class,
const char *name);
/*GDK_AVAILABLE_IN_3_20*/
GDK_AVAILABLE_IN_3_20
const char * gtk_widget_class_get_css_name (GtkWidgetClass *widget_class);
GDK_AVAILABLE_IN_3_4
......
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