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
|
@ -1,3 +1,10 @@
|
||||||
|
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)
|
||||||
|
|
||||||
2009-02-09 Thomas H.P. Andersen <phomes@gmail.com>
|
2009-02-09 Thomas H.P. Andersen <phomes@gmail.com>
|
||||||
|
|
||||||
* font-viewer/font-thumbnailer.c:
|
* font-viewer/font-thumbnailer.c:
|
||||||
|
|
|
@ -254,6 +254,8 @@ main(int argc, char **argv)
|
||||||
|
|
||||||
setlocale (LC_ALL, "");
|
setlocale (LC_ALL, "");
|
||||||
|
|
||||||
|
g_type_init ();
|
||||||
|
|
||||||
context = g_option_context_new (NULL);
|
context = g_option_context_new (NULL);
|
||||||
g_option_context_add_main_entries (context, options, GETTEXT_PACKAGE);
|
g_option_context_add_main_entries (context, options, GETTEXT_PACKAGE);
|
||||||
|
|
||||||
|
@ -385,6 +387,6 @@ main(int argc, char **argv)
|
||||||
g_strfreev (arguments);
|
g_strfreev (arguments);
|
||||||
g_free (thumbstr);
|
g_free (thumbstr);
|
||||||
g_free (thumbstr_utf8);
|
g_free (thumbstr_utf8);
|
||||||
|
|
||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue