Commit f09b3248 authored by Johan Dahlin's avatar Johan Dahlin Committed by Johan Dahlin

Use g_strdup on the translated string instead of g_strndup() + the length

2007-08-07  Johan Dahlin  <jdahlin@async.com.br>

    * gtk/gtkbuilderparser.c (text): Use g_strdup on the translated
    string instead of g_strndup() + the length of the untranslated
    string. (#461945, Claude Paroz)


svn path=/trunk/; revision=18588
parent ce1d7e3a
2007-08-07 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkbuilderparser.c (text): Use g_strdup on the translated
string instead of g_strndup() + the length of the untranslated
string. (#461945, Claude Paroz)
2007-08-07 Kristian Rietveld <kris@imendio.com>
* gtk/gtktooltips.c (gtk_tooltips_init),
......
......@@ -915,7 +915,7 @@ text (GMarkupParseContext *context,
else
text = dgettext (data->domain, text);
}
prop_info->data = g_strndup (text, text_len);
prop_info->data = g_strdup (text);
}
}
......
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