f440e6a36f
headers installed. Resolves #537064 (F-12, devel)
27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
diff -up ypbind-mt-1.20.4/src/ypbind_dbus_nm.c.signalstate ypbind-mt-1.20.4/src/ypbind_dbus_nm.c
|
|
--- ypbind-mt-1.20.4/src/ypbind_dbus_nm.c.signalstate 2009-11-13 12:32:30.639389786 +0100
|
|
+++ ypbind-mt-1.20.4/src/ypbind_dbus_nm.c 2009-11-13 12:34:30.429263750 +0100
|
|
@@ -34,11 +34,12 @@
|
|
|
|
#ifdef HAVE_NETWORKMANAGER_NETWORKMANAGER_H
|
|
#include <NetworkManager/NetworkManager.h>
|
|
+#include <NetworkManager/NetworkManagerVPN.h>
|
|
#else
|
|
#define NM_DBUS_INTERFACE "org.freedesktop.NetworkManager"
|
|
#define NM_DBUS_SERVICE "org.freedesktop.NetworkManager"
|
|
#define NM_DBUS_PATH "/org/freedesktop/NetworkManager"
|
|
-#define NM_DBUS_SIGNAL_STATE_CHANGE "StateChange"
|
|
+#define NM_DBUS_VPN_SIGNAL_STATE_CHANGE "StateChange"
|
|
|
|
typedef enum NMState {
|
|
NM_STATE_UNKNOWN = 0,
|
|
@@ -138,7 +139,7 @@ dbus_filter (DBusConnection *connection,
|
|
handled = DBUS_HANDLER_RESULT_HANDLED;
|
|
}
|
|
else if (dbus_message_is_signal (message, NM_DBUS_INTERFACE,
|
|
- NM_DBUS_SIGNAL_STATE_CHANGE))
|
|
+ NM_DBUS_VPN_SIGNAL_STATE_CHANGE))
|
|
{
|
|
NMState state = NM_STATE_UNKNOWN;
|
|
|