Commit 5af447fa authored by Guillaume Laurent's avatar Guillaume Laurent
Browse files

Added a g_return_val_if_fail() in gtk_label_parse_uline() to

prevent from 'string' arg being NULL.
parent 377579c2
......@@ -957,6 +957,8 @@ gtk_label_parse_uline (GtkLabel *label,
gint length, wc_length;
gboolean underscore;
g_return_val_if_fail(string != NULL, GDK_VoidSymbol);
/* Convert text to wide characters */
length = strlen (string);
string_wc = g_new (GdkWChar, length + 1);
......
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