[gtk] widget: Fix typos for css-clases property



commit 43b8aff62c6be7b809eb5c5b2226f1422b8de887
Author: Benjamin Otte <otte redhat com>
Date:   Sun Feb 16 19:57:45 2020 +0100

    widget: Fix typos for css-clases property

 gtk/gtkwidget.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 410baf482c..a72bd390bf 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -1332,9 +1332,9 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * A list of css classes applied to this widget.
    */
   widget_props[PROP_CSS_CLASSES] =
-      g_param_spec_boxed ("classes",
-                          P_("Style Classes"),
-                          P_("List of classes"),
+      g_param_spec_boxed ("css-classes",
+                          P_("CSS Style Classes"),
+                          P_("List of CSS classes"),
                           G_TYPE_STRV,
                           GTK_PARAM_READWRITE);
 
@@ -13230,7 +13230,7 @@ gtk_widget_has_css_class (GtkWidget  *widget,
  *
  * Returns: (transfer full): a %NULL-terminated list of
  *   css classes currently applied to @widget. The returned
- *   list can be freed using g_strfreev.
+ *   list can be freed using g_strfreev().
  */
 char **
 gtk_widget_get_css_classes (GtkWidget *widget)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]