2008-03-14 Dan Williams <dcbw@redhat.com>

* src/ppp-manager/nm-ppp-manager.c
		- (impl_ppp_manager_need_secrets): since it's asynchronous now, it
			should only take the DBusGMethodInvocation argument, not user/pass
			too.  With dbus-glib, async functions only take 2 C arguments since
			the real dbus method arguments get passed back with
			dbus_g_method_return()



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3455 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams 2008-03-14 18:49:34 +00:00
parent 54acf5df49
commit 013251281f
2 changed files with 11 additions and 6 deletions

View file

@ -1,3 +1,12 @@
2008-03-14 Dan Williams <dcbw@redhat.com>
* src/ppp-manager/nm-ppp-manager.c
- (impl_ppp_manager_need_secrets): since it's asynchronous now, it
should only take the DBusGMethodInvocation argument, not user/pass
too. With dbus-glib, async functions only take 2 C arguments since
the real dbus method arguments get passed back with
dbus_g_method_return()
2008-03-13 Tambet Ingo <tambet@gmail.com>
* system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):

View file

@ -15,9 +15,7 @@
#include "nm-marshal.h"
static void impl_ppp_manager_need_secrets (NMPPPManager *manager,
char **username,
char **password,
DBusGMethodInvocation *context);
DBusGMethodInvocation *context);
static gboolean impl_ppp_manager_set_state (NMPPPManager *manager,
guint32 state,
@ -187,9 +185,7 @@ remove_timeout_handler (NMPPPManager *manager)
static void
impl_ppp_manager_need_secrets (NMPPPManager *manager,
char **username,
char **password,
DBusGMethodInvocation *context)
DBusGMethodInvocation *context)
{
NMPPPManagerPrivate *priv = NM_PPP_MANAGER_GET_PRIVATE (manager);
NMConnection *connection;