mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-16 21:50:34 +00:00
css node tree: Fix crash
This function would return "" whenever the state of the css node was unset, causing a crash when selecting the css node tree from the sidebar.
This commit is contained in:
parent
7ad6043478
commit
8ea573b473
@ -395,7 +395,7 @@ format_state_flags (GtkStateFlags state)
|
||||
return g_string_free (str, FALSE);
|
||||
}
|
||||
|
||||
return "";
|
||||
return g_strdup ("");
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user