forked from AuroraMiddleware/gtk
GtkCssProvider: unset filename on load_from_data()
This commit is contained in:
parent
96e5a02148
commit
80cf01c271
@ -2112,6 +2112,9 @@ gtk_css_provider_load_from_data (GtkCssProvider *css_provider,
|
||||
priv->scanner->input_name = "-";
|
||||
g_scanner_input_text (priv->scanner, data, (guint) length);
|
||||
|
||||
g_free (priv->filename);
|
||||
priv->filename = NULL;
|
||||
|
||||
parse_stylesheet (css_provider);
|
||||
|
||||
return TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user