summaryrefslogtreecommitdiff
path: root/src/nautilus-search-popover.c
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2016-02-02 18:33:47 +0100
committerCarlos Soriano <csoriano@gnome.org>2016-02-03 16:33:55 +0100
commit42fccb7c365da12357ec6a9ca3a91248e5efe8ee (patch)
tree581c79db440f2d14d2a487358d36fbda42a6dd20 /src/nautilus-search-popover.c
parent946cd0d8070db0d1439b3a960da6fa4a508dd188 (diff)
downloadnautilus-42fccb7c365da12357ec6a9ca3a91248e5efe8ee.tar.gz
search-popover: disconnect old query signals
Just a thynko/typo.
Diffstat (limited to 'src/nautilus-search-popover.c')
-rw-r--r--src/nautilus-search-popover.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nautilus-search-popover.c b/src/nautilus-search-popover.c
index e207d045e..441fada54 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);
}