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
This commit is contained in:

committed by
Johan Dahlin

parent
ce1d7e3a4a
commit
f09b3248af
@ -1,3 +1,9 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user