~ubuntu-branches/ubuntu/lucid/awn-extras-applets/lucid

« back to all changes in this revision

Viewing changes to applets/maintained/digital-clock/dg-prefs.c

  • Committer: Bazaar Package Importer
  • Author(s): Julien Lavergne
  • Date: 2010-04-11 22:38:55 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20100411223855-mamzuv887xyms08b
Tags: 0.4.0-0ubuntu1
* New upstream release.
 - Close cairo-menu after a click (LP: #511256)
 - Fix crash of awn-system-monitor (LP: #545164)
 - Fix crash when removing a volume >1 or adding volume >1 or using prefs
   while > 1 volumes is present (LP: #556175)
 - Fix crash of media-control when Rhythmbox quit (LP: #558463)
 - Fix crash of file-browser-launcher when there is no .gtk-bookmarks
   (LP: #551119)
* debian/awn-c-extras.install: 
 - Install icons and ini files for webapplets
* debian/awn-python-core.install:
 - Install ui file for comics (LP: #552376)
* debian/patches:
 - 03-remove-cairo-menu-pref.patch: Merged upstream.
 - 04-tomboy-threading-free.patch: Merged upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
284
284
 
285
285
 
286
286
GtkDialog* digital_clock_prefs_get_dialog (DigitalClockPrefs* self) {
287
 
        GtkDialog* result;
 
287
        GtkDialog* result = NULL;
288
288
        g_return_val_if_fail (self != NULL, NULL);
289
289
        result = self->priv->dialog;
290
290
        return result;
367
367
 
368
368
 
369
369
GType digital_clock_prefs_get_type (void) {
370
 
        static GType digital_clock_prefs_type_id = 0;
371
 
        if (digital_clock_prefs_type_id == 0) {
 
370
        static volatile gsize digital_clock_prefs_type_id__volatile = 0;
 
371
        if (g_once_init_enter (&digital_clock_prefs_type_id__volatile)) {
372
372
                static const GTypeInfo g_define_type_info = { sizeof (DigitalClockPrefsClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) digital_clock_prefs_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (DigitalClockPrefs), 0, (GInstanceInitFunc) digital_clock_prefs_instance_init, NULL };
 
373
                GType digital_clock_prefs_type_id;
373
374
                digital_clock_prefs_type_id = g_type_register_static (G_TYPE_OBJECT, "DigitalClockPrefs", &g_define_type_info, 0);
 
375
                g_once_init_leave (&digital_clock_prefs_type_id__volatile, digital_clock_prefs_type_id);
374
376
        }
375
 
        return digital_clock_prefs_type_id;
 
377
        return digital_clock_prefs_type_id__volatile;
376
378
}
377
379
 
378
380