summaryrefslogtreecommitdiff
path: root/baobab/src
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-27 13:12:46 +0200
committerLuke from DC <[email protected]>2022-01-21 02:50:58 +0000
commit26cd61275d4b626ea663abfeb2d4a6befd1e8b1f (patch)
tree21dac68a9a459030d573d3a107ee794d36a6010c /baobab/src
parentb798b5bf8cea1fd33abb62dfc45346f74e0515b1 (diff)
downloadmate-utils-26cd61275d4b626ea663abfeb2d4a6befd1e8b1f.tar.bz2
mate-utils-26cd61275d4b626ea663abfeb2d4a6befd1e8b1f.tar.xz
Unnecessary G_OBJECT cast when calling signal connect function
Diffstat (limited to 'baobab/src')
-rw-r--r--baobab/src/baobab-utils.c5
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);