diff options
| author | Zdenek Prikryl <zprikryl@redhat.com> | 2009-08-24 18:42:14 +0200 |
|---|---|---|
| committer | Zdenek Prikryl <zprikryl@redhat.com> | 2009-08-24 18:42:14 +0200 |
| commit | 47df431ad534b9319d95ef4dc79c2671baf0ee1b (patch) | |
| tree | 39673e93373c47929c89103547cc6dcae82f6d38 /src/Daemon/CommLayerServerDBus.h | |
| parent | 057aefaf2625ca1976a3863b4647324303664a94 (diff) | |
| parent | ffb9d48d975cab3683bbbf9f94e0eacefcf4ce5b (diff) | |
| download | abrt-47df431ad534b9319d95ef4dc79c2671baf0ee1b.tar.gz abrt-47df431ad534b9319d95ef4dc79c2671baf0ee1b.tar.xz abrt-47df431ad534b9319d95ef4dc79c2671baf0ee1b.zip | |
Merge branch 'master' of git://git.fedorahosted.org/abrt
Diffstat (limited to 'src/Daemon/CommLayerServerDBus.h')
| -rw-r--r-- | src/Daemon/CommLayerServerDBus.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Daemon/CommLayerServerDBus.h b/src/Daemon/CommLayerServerDBus.h index fe95d5c..ad24506 100644 --- a/src/Daemon/CommLayerServerDBus.h +++ b/src/Daemon/CommLayerServerDBus.h @@ -13,7 +13,6 @@ class CCommLayerServerDBus { private: DBus::Connection *m_pConn; - DBus::Glib::BusDispatcher *m_pDispatcher; static DBus::Connection *init_dbus(CCommLayerServerDBus *self); public: CCommLayerServerDBus(); @@ -44,3 +43,8 @@ class CCommLayerServerDBus virtual void Warning(const std::string& pDest, const std::string& pMessage); }; +/* + * This must be done before instances of CCommLayerServerDBus are created + * (otherwise "new DBus::Connection(DBus::Connection::SystemBus())" fails) + */ +void attach_dbus_dispatcher_to_glib_main_context(); |
