~unity8-desktop-session-team/indicator-session/indicator-session-using-upstart

« back to all changes in this revision

Viewing changes to src/main.c

Work around glib's type initialization deadlock

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
  GMainLoop * loop;
44
44
  IndicatorSessionService * service;
45
45
 
 
46
  /* Work around a deadlock in glib's type initialization. It can be
 
47
   * removed when https://bugzilla.gnome.org/show_bug.cgi?id=674885 is
 
48
   * fixed.
 
49
   */
 
50
  g_type_ensure (G_TYPE_DBUS_CONNECTION);
 
51
 
46
52
  /* boilerplate i18n */
47
53
  setlocale (LC_ALL, "");
48
54
  bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);