diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c index aefa8eaa5b..e9ac07db5f 100644 --- a/gtk/gtkbutton.c +++ b/gtk/gtkbutton.c @@ -47,7 +47,7 @@ * * Button-like widgets like #GtkToggleButton, #GtkMenuButton, #GtkVolumeButton, * #GtkLockButton, #GtkColorButton, #GtkFontButton or #GtkFileChooserButton use - * style classes such as .toggle, .popup, .scale, .lock, .color, .font, .file + * style classes such as .toggle, .popup, .scale, .lock, .color, .file * to differentiate themselves from a plain GtkButton. */ diff --git a/gtk/gtkfontbutton.c b/gtk/gtkfontbutton.c index c7e0ea7a61..10c73d7640 100644 --- a/gtk/gtkfontbutton.c +++ b/gtk/gtkfontbutton.c @@ -58,7 +58,7 @@ * * # CSS nodes * - * GtkFontButton has a single CSS node with name button and style class .font. + * GtkFontButton has a single CSS node with name fontbutton. */ @@ -611,7 +611,7 @@ gtk_font_button_class_init (GtkFontButtonClass *klass) g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); - gtk_widget_class_set_css_name (widget_class, "button"); + gtk_widget_class_set_css_name (widget_class, "fontbutton"); } static void