summaryrefslogtreecommitdiffstats
path: root/python/examples/example-service.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/examples/example-service.py')
-rw-r--r--python/examples/example-service.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/python/examples/example-service.py b/python/examples/example-service.py
deleted file mode 100644
index 79fb009d..00000000
--- a/python/examples/example-service.py
+++ /dev/null
@@ -1,18 +0,0 @@
-import dbus
-
-import pygtk
-import gtk
-
-class SomeObject(dbus.Object):
- def __init__(self, service):
- dbus.Object.__init__(self, "/SomeObject", [self.HelloWorld], service)
-
- def HelloWorld(self, hello_message):
- print (hello_message)
- return "Hello from example-service.py"
-
-
-service = dbus.Service("org.designfu.SampleService")
-object = SomeObject(service)
-
-gtk.main()