NetworkManager r3455 - in trunk: . src/ppp-manager



Author: dcbw
Date: Fri Mar 14 18:49:34 2008
New Revision: 3455
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=3455&view=rev

Log:
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()



Modified:
   trunk/ChangeLog
   trunk/src/ppp-manager/nm-ppp-manager.c

Modified: trunk/src/ppp-manager/nm-ppp-manager.c
==============================================================================
--- trunk/src/ppp-manager/nm-ppp-manager.c	(original)
+++ trunk/src/ppp-manager/nm-ppp-manager.c	Fri Mar 14 18:49:34 2008
@@ -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 @@
 
 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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]