Commit 8e1eee83 authored by Corentin Noël's avatar Corentin Noël
Browse files

scale: Use hardcoded string for style class

The constants for style classes have been removed from GTK itself.
parent ad9c82da
......@@ -376,7 +376,7 @@ shumate_scale_init (ShumateScale *self)
self->max_scale_width = 150;
gtk_orientable_set_orientation (GTK_ORIENTABLE (layout), GTK_ORIENTATION_VERTICAL);
gtk_widget_add_css_class (self_widget, GTK_STYLE_CLASS_VERTICAL);
gtk_widget_add_css_class (self_widget, "vertical");
self->metric_label = gtk_label_new (NULL);
g_object_set (G_OBJECT (self->metric_label),
......
Supports Markdown
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