epiphany r8855 - trunk/src



Author: xan
Date: Sat Mar  7 10:05:08 2009
New Revision: 8855
URL: http://svn.gnome.org/viewvc/epiphany?rev=8855&view=rev

Log:
ephy-net-monitor: remove unneeded includes, fix compiler warning.

Modified:
   trunk/src/ephy-net-monitor.c

Modified: trunk/src/ephy-net-monitor.c
==============================================================================
--- trunk/src/ephy-net-monitor.c	(original)
+++ trunk/src/ephy-net-monitor.c	Sat Mar  7 10:05:08 2009
@@ -21,13 +21,10 @@
 
 #include "ephy-net-monitor.h"
 
-#include "ephy-dbus.h"
-#include "ephy-shell.h"
-#include "ephy-session.h"
-#include "ephy-embed-single.h"
 #include "eel-gconf-extensions.h"
-#include "ephy-prefs.h"
+#include "ephy-dbus.h"
 #include "ephy-debug.h"
+#include "ephy-prefs.h"
 
 #include <NetworkManager/NetworkManager.h>
 
@@ -129,7 +126,9 @@
 
 	if (dbus_connection_send_with_reply (priv->bus, message, &reply, -1)) 
 	{
-		dbus_pending_call_set_notify (reply, ephy_net_monitor_dbus_notify, monitor, NULL);
+		dbus_pending_call_set_notify (reply,
+					      (DBusPendingCallNotifyFunction)ephy_net_monitor_dbus_notify,
+					      monitor, NULL);
 		dbus_pending_call_unref (reply);
 	}
 	



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