summaryrefslogtreecommitdiff
path: root/mate-panel/libpanel-util/panel-icon-chooser.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 /mate-panel/libpanel-util/panel-icon-chooser.c
parent5bd053ad542479eaec4166e45195c5e911472f88 (diff)
downloadmate-panel-54e2bb1acaf71b7b54e796f7bfa311fb32d84830.tar.bz2
mate-panel-54e2bb1acaf71b7b54e796f7bfa311fb32d84830.tar.xz
Remove unnecessary cast in g_signal_connect* call
Diffstat (limited to 'mate-panel/libpanel-util/panel-icon-chooser.c')
-rw-r--r--mate-panel/libpanel-util/panel-icon-chooser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mate-panel/libpanel-util/panel-icon-chooser.c b/mate-panel/libpanel-util/panel-icon-chooser.c
index c99503bd..26fee9af 100644
--- a/mate-panel/libpanel-util/panel-icon-chooser.c
+++ b/mate-panel/libpanel-util/panel-icon-chooser.c
@@ -431,9 +431,9 @@ _panel_icon_chooser_clicked (GtkButton *button)
chooser->priv->filechooser = filechooser;
- g_signal_connect (G_OBJECT (filechooser), "destroy",
- G_CALLBACK (gtk_widget_destroyed),
- &chooser->priv->filechooser);
+ g_signal_connect (filechooser, "destroy",
+ G_CALLBACK (gtk_widget_destroyed),
+ &chooser->priv->filechooser);
gtk_widget_show (filechooser);
}