aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2009-03-07 18:05:08 +0800
committerXan Lopez <xan@src.gnome.org>2009-03-07 18:05:08 +0800
commit625321cb6c94712e7b9429ca65e404940c74970e (patch)
tree59c08c09ee19cdf890d4a76e93ed8e74b820bbed
parentff0bebae6b32d60db57ac7090336da921cd107b1 (diff)
downloadgsoc2013-epiphany-625321cb6c94712e7b9429ca65e404940c74970e.tar.gz
gsoc2013-epiphany-625321cb6c94712e7b9429ca65e404940c74970e.tar.zst
gsoc2013-epiphany-625321cb6c94712e7b9429ca65e404940c74970e.zip
ephy-net-monitor: remove unneeded includes, fix compiler warning.
svn path=/trunk/; revision=8855
-rw-r--r--src/ephy-net-monitor.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/ephy-net-monitor.c b/src/ephy-net-monitor.c
index 40e765062..762a9fb8f 100644
--- a/src/ephy-net-monitor.c
+++ b/src/ephy-net-monitor.c
@@ -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 @@ ephy_net_monitor_check_network (EphyNetMonitor *monitor)
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);
}