diff options
author | rbuj <[email protected]> | 2021-10-27 13:12:46 +0200 |
---|---|---|
committer | Luke from DC <[email protected]> | 2022-01-21 02:50:58 +0000 |
commit | 26cd61275d4b626ea663abfeb2d4a6befd1e8b1f (patch) | |
tree | 21dac68a9a459030d573d3a107ee794d36a6010c /mate-screenshot/src/screenshot-dialog.c | |
parent | b798b5bf8cea1fd33abb62dfc45346f74e0515b1 (diff) | |
download | mate-utils-26cd61275d4b626ea663abfeb2d4a6befd1e8b1f.tar.bz2 mate-utils-26cd61275d4b626ea663abfeb2d4a6befd1e8b1f.tar.xz |
Unnecessary G_OBJECT cast when calling signal connect function
Diffstat (limited to 'mate-screenshot/src/screenshot-dialog.c')
-rw-r--r-- | mate-screenshot/src/screenshot-dialog.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/mate-screenshot/src/screenshot-dialog.c b/mate-screenshot/src/screenshot-dialog.c index da1a1694..cd1afeb2 100644 --- a/mate-screenshot/src/screenshot-dialog.c +++ b/mate-screenshot/src/screenshot-dialog.c @@ -253,10 +253,12 @@ screenshot_dialog_new (GdkPixbuf *screenshot, gtk_frame_set_shadow_type (GTK_FRAME (aspect_frame), GTK_SHADOW_IN); /* setup dnd */ - g_signal_connect (G_OBJECT (preview_darea), "drag_begin", - G_CALLBACK (drag_begin), dialog); - g_signal_connect (G_OBJECT (preview_darea), "drag_data_get", - G_CALLBACK (drag_data_get), dialog); + g_signal_connect (preview_darea, "drag_begin", + G_CALLBACK (drag_begin), + dialog); + g_signal_connect (preview_darea, "drag_data_get", + G_CALLBACK (drag_data_get), + dialog); gtk_widget_show_all (toplevel); |