[glibmm] Gio::NetworkMonitor: Derive from Gio::Initable
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Gio::NetworkMonitor: Derive from Gio::Initable
- Date: Tue, 27 Dec 2016 18:48:00 +0000 (UTC)
commit 2388e98e7b250368a250595df03b85385de1285d
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date: Tue Dec 27 19:45:01 2016 +0100
Gio::NetworkMonitor: Derive from Gio::Initable
Because GNetworkMonitor requires GInitable.
Compare Gio::LoadableIcon which derives from Gio:Icon.
gio/src/networkmonitor.hg | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gio/src/networkmonitor.hg b/gio/src/networkmonitor.hg
index df55fda..ca84559 100644
--- a/gio/src/networkmonitor.hg
+++ b/gio/src/networkmonitor.hg
@@ -15,14 +15,14 @@
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include <glibmm/interface.h>
+#include <giomm/initable.h>
#include <giomm/asyncresult.h>
#include <giomm/cancellable.h>
#include <giomm/socketconnectable.h>
#include <gio/gio.h>
_DEFS(giomm,gio)
-_PINCLUDE(glibmm/private/interface_p.h)
+_PINCLUDE(giomm/private/initable_p.h)
_PINCLUDE(gio/gio.h)
#ifndef DOXYGEN_SHOULD_SKIP_THIS
@@ -39,9 +39,9 @@ _WRAP_ENUM(NetworkConnectivity, GNetworkConnectivity, NO_GTYPE)
*
* @newin{2,44}
*/
-class NetworkMonitor : public Glib::Interface
+class NetworkMonitor : public Initable
{
- _CLASS_INTERFACE(NetworkMonitor, GNetworkMonitor, G_NETWORK_MONITOR, GNetworkMonitorInterface)
+ _CLASS_INTERFACE(NetworkMonitor, GNetworkMonitor, G_NETWORK_MONITOR, GNetworkMonitorInterface, Initable,
GInitable)
public:
_WRAP_METHOD(static Glib::RefPtr<NetworkMonitor> get_default(), g_network_monitor_get_default, newin
"2,44")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]