mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-10-06 01:12:40 +02:00
GimpText:Partially Revert some of the changes in commit b2eb374aaacd0c8054234c4fa2b785da0007355f
I accidently commited 2 calls to g_assert in the previous commit. Reverting.
This commit is contained in:
@@ -964,7 +964,6 @@ gimp_text_deserialize_property (GimpConfig *object,
|
||||
scanner,
|
||||
-1,
|
||||
NULL));
|
||||
g_assert (GIMP_IS_FONT (font));
|
||||
replaced_markup = g_markup_printf_escaped (" font=\"%s\"", markup_fontname);
|
||||
new_markup = g_strdup_printf (" gimpfont=\"%s\"", gimp_font_get_lookup_name (font));
|
||||
g_string_replace (markup_str, replaced_markup, new_markup, 0);
|
||||
@@ -1003,7 +1002,6 @@ gimp_text_deserialize_property (GimpConfig *object,
|
||||
scanner,
|
||||
-1,
|
||||
NULL));
|
||||
g_assert (GIMP_IS_FONT (font));
|
||||
g_scanner_get_next_token (scanner); /* ) */
|
||||
g_scanner_get_next_token (scanner); /* ) */
|
||||
|
||||
|
Reference in New Issue
Block a user