diff options
author | Alexandru Pandelea <alexandru.pandelea@gmail.com> | 2017-08-07 17:52:39 +0100 |
---|---|---|
committer | Alexandru Pandelea <alexandru.pandelea@gmail.com> | 2017-08-08 11:23:12 +0100 |
commit | 85c28fff02596f4a8335c479ef0ba2f72e158e36 (patch) | |
tree | 9afef44cca698fda601733770eb7979946aa8964 /src/nautilus-list-view-private.h | |
parent | aae95a43be1afdccd703529c2594716d90e6aeaf (diff) | |
download | nautilus-85c28fff02596f4a8335c479ef0ba2f72e158e36.tar.gz |
list-view: fix snippet newline removal
Removing only \n from the snippet is not enough, as there are also
other newline characters.
Use a GRegex to match those new line chars and remove them.
https://bugzilla.gnome.org/show_bug.cgi?id=785959
Diffstat (limited to 'src/nautilus-list-view-private.h')
-rw-r--r-- | src/nautilus-list-view-private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nautilus-list-view-private.h b/src/nautilus-list-view-private.h index e2a09a1e6..2638c36ec 100644 --- a/src/nautilus-list-view-private.h +++ b/src/nautilus-list-view-private.h @@ -64,5 +64,7 @@ struct NautilusListViewDetails { gulong clipboard_handler_id; GQuark last_sort_attr; + + GRegex *regex; }; |