summaryrefslogtreecommitdiff
path: root/logview
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 /logview
parentb798b5bf8cea1fd33abb62dfc45346f74e0515b1 (diff)
downloadmate-utils-26cd61275d4b626ea663abfeb2d4a6befd1e8b1f.tar.bz2
mate-utils-26cd61275d4b626ea663abfeb2d4a6befd1e8b1f.tar.xz
Unnecessary G_OBJECT cast when calling signal connect function
Diffstat (limited to 'logview')
-rw-r--r--logview/src/logview-filter-manager.c5
1 files changed, 3 insertions, 2 deletions
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),