diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-10-28 16:19:49 +0000 |
---|---|---|
committer | Tarmac <Unknown> | 2013-10-28 16:19:49 +0000 |
commit | d799095e1ace348b664ba3f4544749f925898d2b (patch) | |
tree | b8ee0adbec96c83dfea67ba68e777edb23145cfc /src/main.c | |
parent | 9e2f24172c1fa388e2be2938998b20f5bf3a8241 (diff) | |
parent | 378c70c707550cb66f5c6b138fb5f3b7ff737bc2 (diff) | |
download | ayatana-indicator-datetime-d799095e1ace348b664ba3f4544749f925898d2b.tar.gz ayatana-indicator-datetime-d799095e1ace348b664ba3f4544749f925898d2b.tar.bz2 ayatana-indicator-datetime-d799095e1ace348b664ba3f4544749f925898d2b.zip |
datetime panel: don't try to add empty location names
Otherwise NULL is passed into g_utf8_collate_key().
Approved by Charles Kerr, PS Jenkins bot.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -50,6 +50,12 @@ main (int argc G_GNUC_UNUSED, char ** argv G_GNUC_UNUSED) IndicatorDatetimeService * service; GMainLoop * loop; + /* Work around a deadlock in glib's type initialization. It can be + * removed when https://bugzilla.gnome.org/show_bug.cgi?id=674885 is + * fixed. + */ + g_type_ensure (G_TYPE_DBUS_CONNECTION); + /* boilerplate i18n */ setlocale (LC_ALL, ""); bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR); |