~unity-team/dee/raring

« back to all changes in this revision

Viewing changes to examples/peers.c

  • Committer: Tarmac
  • Author(s): Michal Hruby
  • Date: 2013-02-04 18:02:58 UTC
  • mfrom: (397.1.4 dee)
  • Revision ID: tarmac-20130204180258-cgv8wd2h09yuih4f
Fix compability with python3. Fixes: https://bugs.launchpad.net/bugs/1100303.

Approved by PS Jenkins bot, Pawel Stolowski.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
  GMainLoop *loop;
55
55
  DeePeer  *peer;
56
56
  
 
57
#if !GLIB_CHECK_VERSION(2, 35, 1)
57
58
  g_type_init ();
 
59
#endif
58
60
#if !GLIB_CHECK_VERSION(2, 32, 0)
59
61
  g_thread_init (NULL);
60
62
#endif