summaryrefslogtreecommitdiff
path: root/gtk/gtkscrollbar.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-11-17 22:49:57 -0500
committerMatthias Clasen <mclasen@redhat.com>2017-11-17 22:49:57 -0500
commitffd6baec42b12cbbf5b1088e367ab6c8259ac5cb (patch)
treef04b911151e79eb428ac39494ae9601f9b5d5525 /gtk/gtkscrollbar.c
parent4dc4db56dc9a36a2daba90249f2f45256059c807 (diff)
downloadgtk+-ffd6baec42b12cbbf5b1088e367ab6c8259ac5cb.tar.gz
gtk: Intern css names
This avoids a bunch of strdups at startup.
Diffstat (limited to 'gtk/gtkscrollbar.c')
-rw-r--r--gtk/gtkscrollbar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkscrollbar.c b/gtk/gtkscrollbar.c
index 87f2120fee..8ddb412ad5 100644
--- a/gtk/gtkscrollbar.c
+++ b/gtk/gtkscrollbar.c
@@ -230,7 +230,7 @@ gtk_scrollbar_class_init (GtkScrollbarClass *class)
g_object_class_override_property (object_class, PROP_ORIENTATION, "orientation");
gtk_widget_class_set_accessible_role (widget_class, ATK_ROLE_SCROLL_BAR);
- gtk_widget_class_set_css_name (widget_class, "scrollbar");
+ gtk_widget_class_set_css_name (widget_class, I_("scrollbar"));
}
static gboolean