diff options
author | Carlos Soriano <csoriano@gnome.org> | 2018-05-03 17:57:08 +0200 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2018-05-03 22:34:23 +0200 |
commit | 7831866d397a01297e6ed3a4a30cd66cde2a0484 (patch) | |
tree | fad28f628bb741533675101a44e5739c01476c58 /src/nautilus-query-editor.c | |
parent | deccd0151abfb27099e5e14628825a633b87c6b4 (diff) | |
download | nautilus-7831866d397a01297e6ed3a4a30cd66cde2a0484.tar.gz |
window-slot: Keep query editor ownership on the window-slot
So it stays alive between uses.
Diffstat (limited to 'src/nautilus-query-editor.c')
-rw-r--r-- | src/nautilus-query-editor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-query-editor.c b/src/nautilus-query-editor.c index a2291a87a..5ce439e68 100644 --- a/src/nautilus-query-editor.c +++ b/src/nautilus-query-editor.c @@ -746,7 +746,7 @@ nautilus_query_editor_get_query (NautilusQueryEditor *editor) return NULL; } - return g_object_ref (priv->query); + return priv->query; } GtkWidget * |