[nautilus/wip/csoriano/search-popover: 26/29] search-popover: disconnect old query signals
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/csoriano/search-popover: 26/29] search-popover: disconnect old query signals
- Date: Tue, 2 Feb 2016 21:26:10 +0000 (UTC)
commit ae18cefd4ef7b5d57e1e249db35bb97572fae99d
Author: Carlos Soriano <csoriano gnome org>
Date: Tue Feb 2 18:33:47 2016 +0100
search-popover: disconnect old query signals
Just a thynko/typo.
src/nautilus-search-popover.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-search-popover.c b/src/nautilus-search-popover.c
index e207d04..441fada 100644
--- a/src/nautilus-search-popover.c
+++ b/src/nautilus-search-popover.c
@@ -1135,8 +1135,8 @@ nautilus_search_popover_set_query (NautilusSearchPopover *popover,
/* Disconnect signals and bindings from the old query */
if (previous_query)
{
- g_signal_handlers_disconnect_by_func (query, query_date_changed, popover);
- g_signal_handlers_disconnect_by_func (query, query_location_changed, popover);
+ g_signal_handlers_disconnect_by_func (previous_query, query_date_changed, popover);
+ g_signal_handlers_disconnect_by_func (previous_query, query_location_changed, popover);
g_clear_pointer (&popover->recursive_binding, g_binding_unbind);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]