Commit 7cd7257a authored by Matthias Clasen's avatar Matthias Clasen

Avoid a string copy

We have an api to create a quark from a static string, lets use it.
parent e1ecdd3e
......@@ -149,7 +149,7 @@ gtk_css_static_style_get_default (void)
GtkCssStyle *result;
if (style_quark == 0)
style_quark = g_quark_from_string ("gtk-default-style");
style_quark = g_quark_from_static_string ("gtk-default-style");
settings = gtk_settings_get_for_screen (gdk_screen_get_default ());
result = g_object_get_qdata (G_OBJECT (settings), style_quark);
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