How to raise a dbus exceptions in GDBus
- From: alok barsode <alokbarsode gmail com>
- To: gnome-shell-list gnome org
- Subject: How to raise a dbus exceptions in GDBus
- Date: Tue, 28 Aug 2012 17:27:47 +0300
Hi,
I am rewriting a dbus based extension in GDBus. Earlier I was using gjs's built-in dbus support (libdbus ?)
I need to raise a dbus exception in my extension. With the built-in dbus support I did this:
let err = new DBus.DBusError('net.connman.Agent.Error.Retry', 'retry this service');
throw err;
How do I achieve the same in GDBus?
I am using Ubuntu Percise Pangolin (12.04) and gnome-shell 3.4.1.
Thanks a lot,
Alok.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]