summaryrefslogtreecommitdiff
path: root/capplets/windows
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-27 14:22:58 +0200
committerLuke from DC <[email protected]>2022-02-09 04:42:12 +0000
commit2a06f17c2ef442bd63cc0463c5ee2d5b6cc84c64 (patch)
tree0de842f92df7aa496d2867a65f160322687e47a4 /capplets/windows
parent0bfa4ca16e527fdc333fc1ded8b1d9f5963ccf1e (diff)
downloadmate-control-center-2a06f17c2ef442bd63cc0463c5ee2d5b6cc84c64.tar.bz2
mate-control-center-2a06f17c2ef442bd63cc0463c5ee2d5b6cc84c64.tar.xz
Unnecessary G_OBJECT cast when calling signal connect function
Diffstat (limited to 'capplets/windows')
-rw-r--r--capplets/windows/mate-window-properties.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/capplets/windows/mate-window-properties.c b/capplets/windows/mate-window-properties.c
index 90b46f9c..9757c42c 100644
--- a/capplets/windows/mate-window-properties.c
+++ b/capplets/windows/mate-window-properties.c
@@ -481,7 +481,7 @@ main (int argc, char **argv)
"active",
G_SETTINGS_BIND_DEFAULT);
- g_signal_connect (G_OBJECT (dialog_win), "destroy",
+ g_signal_connect (dialog_win, "destroy",
G_CALLBACK (gtk_main_quit), NULL);
g_signal_connect (marco_settings, "changed",
@@ -490,12 +490,12 @@ main (int argc, char **argv)
g_signal_connect (marco_settings, "changed::" MARCO_FOCUS_KEY,
G_CALLBACK (mouse_focus_changed_callback), NULL);
- g_signal_connect (G_OBJECT (screen), "window_manager_changed",
+ g_signal_connect (screen, "window_manager_changed",
G_CALLBACK (wm_changed_callback), NULL);
i = 0;
while (i < n_mouse_modifiers) {
- g_signal_connect (G_OBJECT (mouse_modifiers[i].radio), "toggled",
+ g_signal_connect (mouse_modifiers[i].radio, "toggled",
G_CALLBACK (alt_click_radio_toggled_callback),
&mouse_modifiers[i]);
++i;