~ubuntu-branches/ubuntu/precise/gnome-control-center/precise-updates

« back to all changes in this revision

Viewing changes to font-viewer/font-thumbnailer.c

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2009-03-17 15:34:39 UTC
  • mfrom: (1.1.27 upstream)
  • Revision ID: james.westby@ubuntu.com-20090317153439-e1qqregm2p5qzapn
Tags: 1:2.26.0-0ubuntu1
* New upstream release: (LP: #344244)
  + About me:
   - Fix warning when selecting a finger to enroll in the combo box
     (Bastien Nocera)
  + Default applications:
   - Fix mnemonic conflicts (Jens Granseuer)
  + Display:
   - Make the strings of the rotation dialog appear translated (Gabor Kelemen)
   - Fix crash when refreshing RANDR configuration (Federico Mena Quintero)
     (LP: #340386)
  + Font viewer:
   - Stop the font thumbnailer eating all the CPU (Bastien Nocera) (LP: #339417)
  + Keybindings:
   - Fix mnemonics conflict on the custom shortcut window (Jens Granseuer)
  + Typing break:
   - Revert string freeze breaker (Thomas H.P. Andersen)
  + Updated translations
* Refresh debian/patches/99_autoreconf.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
#include <gio/gio.h>
33
33
#include <glib/gi18n.h>
34
34
 
 
35
#include "totem-resources.h"
 
36
 
35
37
static const gchar *
36
38
get_ft_error(FT_Error error)
37
39
{
255
257
    setlocale (LC_ALL, "");
256
258
 
257
259
    g_type_init ();
 
260
    g_thread_init (NULL);
258
261
 
259
262
    context = g_option_context_new (NULL);
260
263
    g_option_context_add_main_entries (context, options, GETTEXT_PACKAGE);
294
297
        goto out;
295
298
    }
296
299
 
 
300
    totem_resources_monitor_start (arguments[0], 30);
 
301
 
297
302
    file = g_file_new_for_commandline_arg (arguments[0]);
298
303
    uri = g_file_get_uri (file);
299
304
    g_object_unref (file);
367
372
    save_pixbuf(pixbuf, arguments[1]);
368
373
    g_object_unref(pixbuf);
369
374
 
 
375
    totem_resources_monitor_stop ();
 
376
 
370
377
    /* freeing the face causes a crash I haven't tracked down yet */
371
378
    error = FT_Done_Face(face);
372
379
    if (error) {