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

« back to all changes in this revision

Viewing changes to tests/test-service.cc

  • Committer: Mathieu Trudel-Lapierre
  • Date: 2013-01-22 14:33:58 UTC
  • mto: This revision was merged to the branch mainline in revision 382.
  • Revision ID: mathieu-tl@ubuntu.com-20130122143358-172l0luu6lcml304
Remove the uses of deprecated g_type_init().

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
      static bool first_run = true;
50
50
      if (first_run)
51
51
        {
52
 
          g_type_init();
53
52
          g_setenv ("INDICATOR_SERVICE_SHUTDOWN_TIMEOUT", "1000", TRUE);
54
53
          g_unsetenv ("INDICATOR_ALLOW_NO_WATCHERS");
55
54
          g_unsetenv ("INDICATOR_SERVICE_REPLACE_MODE");