summaryrefslogtreecommitdiff
path: root/battstat/battstat-upower.c
diff options
context:
space:
mode:
Diffstat (limited to 'battstat/battstat-upower.c')
-rw-r--r--battstat/battstat-upower.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/battstat/battstat-upower.c b/battstat/battstat-upower.c
index f879a95f..fe457ccf 100644
--- a/battstat/battstat-upower.c
+++ b/battstat/battstat-upower.c
@@ -109,12 +109,12 @@ battstat_upower_initialise (void (*callback) (void))
}
#endif
- g_signal_connect_after( upc, "device-added", device_cb, NULL );
+ g_signal_connect_after( upc, "device-added", G_CALLBACK (device_cb), NULL );
#if UP_CHECK_VERSION(0, 99, 0)
- g_signal_connect_after( upc, "device-removed", device_removed_cb, NULL );
+ g_signal_connect_after( upc, "device-removed", G_CALLBACK (device_removed_cb), NULL );
#else
- g_signal_connect_after( upc, "device-changed", device_cb, NULL );
- g_signal_connect_after( upc, "device-removed", device_cb, NULL );
+ g_signal_connect_after( upc, "device-changed", G_CALLBACK (device_cb), NULL );
+ g_signal_connect_after( upc, "device-removed", G_CALLBACK (device_cb), NULL );
#endif
return NULL;