From 0219e1746d8a5e18fa720358694f04b272494500 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Thu, 28 Apr 2005 02:38:55 +0000 Subject: [PATCH] Fix query of active VPN connection git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@591 4912f4e0-d625-0410-9fb7-b9a5a253dbdc --- gnome/applet/applet-dbus-vpn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnome/applet/applet-dbus-vpn.c b/gnome/applet/applet-dbus-vpn.c index 10c62e1920..792a4777e6 100644 --- a/gnome/applet/applet-dbus-vpn.c +++ b/gnome/applet/applet-dbus-vpn.c @@ -68,7 +68,7 @@ void nmwa_dbus_vpn_get_active_vpn_connection_cb (DBusPendingCall *pcall, void *u goto out; } - if (dbus_message_get_args (reply, NULL, DBUS_TYPE_OBJECT_PATH, &act_vpn, DBUS_TYPE_INVALID)) + if (dbus_message_get_args (reply, NULL, DBUS_TYPE_STRING, &act_vpn, DBUS_TYPE_INVALID)) { g_free (applet->dbus_active_vpn_name); applet->dbus_active_vpn_name = g_strdup (act_vpn);