summaryrefslogtreecommitdiff
path: root/battstat/battstat-upower.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-06-03 16:38:18 +0300
committermonsta <[email protected]>2016-06-03 16:38:18 +0300
commitfb33c0b081f64039a397160a7ff6395a0827d8e9 (patch)
treed55f9bc0ecb61739529cda85315540376d3b14af /battstat/battstat-upower.c
parentbc03f7bbef37aa701999792323699ae2c2f14aa6 (diff)
downloadmate-applets-fb33c0b081f64039a397160a7ff6395a0827d8e9.tar.bz2
mate-applets-fb33c0b081f64039a397160a7ff6395a0827d8e9.tar.xz
fix some minor build warnings
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;