summaryrefslogtreecommitdiff
path: root/libmate-panel-applet/test-dbus-applet.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-12-17 14:17:29 +0100
committerraveit65 <[email protected]>2021-12-20 16:57:51 +0100
commit54e2bb1acaf71b7b54e796f7bfa311fb32d84830 (patch)
tree74dff7552f367c583be5f1f1944a3b911f32f2c3 /libmate-panel-applet/test-dbus-applet.c
parent5bd053ad542479eaec4166e45195c5e911472f88 (diff)
downloadmate-panel-54e2bb1acaf71b7b54e796f7bfa311fb32d84830.tar.bz2
mate-panel-54e2bb1acaf71b7b54e796f7bfa311fb32d84830.tar.xz
Remove unnecessary cast in g_signal_connect* call
Diffstat (limited to 'libmate-panel-applet/test-dbus-applet.c')
-rw-r--r--libmate-panel-applet/test-dbus-applet.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/libmate-panel-applet/test-dbus-applet.c b/libmate-panel-applet/test-dbus-applet.c
index 0da1e3ad..cb520680 100644
--- a/libmate-panel-applet/test-dbus-applet.c
+++ b/libmate-panel-applet/test-dbus-applet.c
@@ -171,18 +171,15 @@ test_applet_fill (TestApplet *applet)
mate_panel_applet_set_flags (MATE_PANEL_APPLET (applet), MATE_PANEL_APPLET_HAS_HANDLE);
- g_signal_connect (G_OBJECT (applet),
- "change-orient",
+ g_signal_connect (applet, "change-orient",
G_CALLBACK (test_applet_handle_orient_change),
NULL);
- g_signal_connect (G_OBJECT (applet),
- "change-size",
+ g_signal_connect (applet, "change-size",
G_CALLBACK (test_applet_handle_size_change),
NULL);
- g_signal_connect (G_OBJECT (applet),
- "change-background",
+ g_signal_connect (applet, "change-background",
G_CALLBACK (test_applet_handle_background_change),
NULL);