diff options
author | rbuj <[email protected]> | 2021-10-27 14:22:58 +0200 |
---|---|---|
committer | Luke from DC <[email protected]> | 2022-02-09 04:42:12 +0000 |
commit | 2a06f17c2ef442bd63cc0463c5ee2d5b6cc84c64 (patch) | |
tree | 0de842f92df7aa496d2867a65f160322687e47a4 /libslab/app-shell.c | |
parent | 0bfa4ca16e527fdc333fc1ded8b1d9f5963ccf1e (diff) | |
download | mate-control-center-2a06f17c2ef442bd63cc0463c5ee2d5b6cc84c64.tar.bz2 mate-control-center-2a06f17c2ef442bd63cc0463c5ee2d5b6cc84c64.tar.xz |
Unnecessary G_OBJECT cast when calling signal connect function
Diffstat (limited to 'libslab/app-shell.c')
-rw-r--r-- | libslab/app-shell.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libslab/app-shell.c b/libslab/app-shell.c index 6ca880bc..116194cd 100644 --- a/libslab/app-shell.c +++ b/libslab/app-shell.c @@ -542,8 +542,9 @@ create_filter_section (AppShellData * app_data, const gchar * title) nld_search_bar_set_search_timeout (NLD_SEARCH_BAR (search_bar), 0); slab_section_set_contents (SLAB_SECTION (section), search_bar); - g_signal_connect (G_OBJECT (search_bar), "search", G_CALLBACK (handle_filter_changed), - app_data); + g_signal_connect (search_bar, "search", + G_CALLBACK (handle_filter_changed), + app_data); return section; } |