Commit ef531cc4 authored by Christian Hergert's avatar Christian Hergert

view: remove use of state flags

parent 2c8bfd58
......@@ -4643,9 +4643,7 @@ update_right_margin_colors (GtkSourceView *view)
context = gtk_widget_get_style_context (widget);
gtk_style_context_save (context);
gtk_style_context_set_state (context, GTK_STATE_FLAG_NORMAL);
gtk_style_context_get_color (context,
gtk_style_context_get_state (context),
gtk_style_context_get_color (context, &color);
gtk_style_context_restore (context);
priv->right_margin_line_color = gdk_rgba_copy (&color);
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