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 /baobab | |
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 'baobab')
-rw-r--r-- | baobab/src/baobab-utils.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/baobab/src/baobab-utils.c b/baobab/src/baobab-utils.c index 824eaae2..d7c03e48 100644 --- a/baobab/src/baobab-utils.c +++ b/baobab/src/baobab-utils.c @@ -498,8 +498,9 @@ baobab_help_display (GtkWindow *parent, gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s", error->message); - g_signal_connect (G_OBJECT (dialog), "response", - G_CALLBACK (gtk_widget_destroy), NULL); + g_signal_connect (dialog, "response", + G_CALLBACK (gtk_widget_destroy), + NULL); gtk_widget_show (dialog); |