~ubuntu-branches/ubuntu/trusty/friends/trusty

« back to all changes in this revision

Viewing changes to friends/main.py

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Robert Bruce Park, Ubuntu daily release
  • Date: 2013-06-21 05:01:05 UTC
  • mfrom: (1.1.18)
  • Revision ID: package-import@ubuntu.com-20130621050105-5nwuxuv1rfoq3irp
Tags: 0.2.0daily13.06.21-0ubuntu1
[ Robert Bruce Park ]
* Stop calling deprecated GObject.threads_init().

[ Ubuntu daily release ]
* Automatic snapshot from revision 210

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
 
32
32
# Set up the DBus main loop.
33
33
from dbus.mainloop.glib import DBusGMainLoop
34
 
from gi.repository import GLib
 
34
from gi.repository import GLib, Gio
35
35
 
36
36
DBusGMainLoop(set_as_default=True)
37
37
loop = GLib.MainLoop()
56
56
 
57
57
 
58
58
# Continue with normal loading...
59
 
from gi.repository import Gio, GObject
60
 
 
61
 
GObject.threads_init()
62
 
 
63
59
from friends.service.dispatcher import Dispatcher, DBUS_INTERFACE
64
60
from friends.utils.base import Base, initialize_caches, _publish_lock
65
61
from friends.utils.model import Model, prune_model