Patch by: Jonas Bonn
2009-02-18 Jens Granseuer <jensgr@gmx.net> Patch by: Jonas Bonn * font-viewer/font-thumbnailer.c: (main): initialize the type system. Fixes hangs when thumbnailing (bug #572189) svn path=/trunk/; revision=9275
This commit is contained in:
parent
456cde5c52
commit
3bbde05235
2 changed files with 10 additions and 1 deletions
|
@ -254,6 +254,8 @@ main(int argc, char **argv)
|
|||
|
||||
setlocale (LC_ALL, "");
|
||||
|
||||
g_type_init ();
|
||||
|
||||
context = g_option_context_new (NULL);
|
||||
g_option_context_add_main_entries (context, options, GETTEXT_PACKAGE);
|
||||
|
||||
|
@ -385,6 +387,6 @@ main(int argc, char **argv)
|
|||
g_strfreev (arguments);
|
||||
g_free (thumbstr);
|
||||
g_free (thumbstr_utf8);
|
||||
|
||||
|
||||
return rv;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue