From 26cd61275d4b626ea663abfeb2d4a6befd1e8b1f Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 27 Oct 2021 13:12:46 +0200 Subject: Unnecessary G_OBJECT cast when calling signal connect function --- logview/src/logview-filter-manager.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'logview/src') diff --git a/logview/src/logview-filter-manager.c b/logview/src/logview-filter-manager.c index f64845b4..315070e0 100644 --- a/logview/src/logview-filter-manager.c +++ b/logview/src/logview-filter-manager.c @@ -330,8 +330,9 @@ run_add_edit_dialog (LogviewFilterManager *manager, LogviewFilter *filter) g_object_set_data_full (G_OBJECT (manager), "old_name", name, g_free); - g_signal_connect (G_OBJECT (dialog), "response", - G_CALLBACK (on_dialog_add_edit_reponse), manager); + g_signal_connect (dialog, "response", + G_CALLBACK (on_dialog_add_edit_reponse), + manager); gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (manager)); gtk_window_set_modal (GTK_WINDOW (dialog), -- cgit v1.2.1