diff options
author | rbuj <[email protected]> | 2021-12-17 14:17:29 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-12-20 16:57:51 +0100 |
commit | 54e2bb1acaf71b7b54e796f7bfa311fb32d84830 (patch) | |
tree | 74dff7552f367c583be5f1f1944a3b911f32f2c3 /applets/wncklet/wayland-backend.c | |
parent | 5bd053ad542479eaec4166e45195c5e911472f88 (diff) | |
download | mate-panel-54e2bb1acaf71b7b54e796f7bfa311fb32d84830.tar.bz2 mate-panel-54e2bb1acaf71b7b54e796f7bfa311fb32d84830.tar.xz |
Remove unnecessary cast in g_signal_connect* call
Diffstat (limited to 'applets/wncklet/wayland-backend.c')
-rw-r--r-- | applets/wncklet/wayland-backend.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/applets/wncklet/wayland-backend.c b/applets/wncklet/wayland-backend.c index 00d96025..f82b7fee 100644 --- a/applets/wncklet/wayland-backend.c +++ b/applets/wncklet/wayland-backend.c @@ -352,8 +352,7 @@ toplevel_task_new (TasklistManager *tasklist, struct zwlr_foreign_toplevel_handl task, (GDestroyNotify)toplevel_task_disconnected_from_widget); - g_signal_connect (G_OBJECT (task->button), - "button-press-event", + g_signal_connect (task->button, "button-press-event", G_CALLBACK (on_toplevel_button_press), task); |