diff options
author | Ondrej Holy <oholy@redhat.com> | 2023-03-17 13:09:24 +0100 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2023-03-29 13:43:10 +0000 |
commit | fa27862d0c5f5d641a52f0b83812ac3d08c1cc7b (patch) | |
tree | e6c4d32c27bf23d2ab37e24f8e50f79d5364134a | |
parent | cb48f51b980f9b0c5f29e0485b611f5c8b602c67 (diff) | |
download | nautilus-fa27862d0c5f5d641a52f0b83812ac3d08c1cc7b.tar.gz |
search-hit: Remove redundant code
The `Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"`
warning is shown during build currently. This is caused by the usage
of the `G_TYPE_INSTANCE_GET_PRIVATE` macro. However, the statement with
this macro doesn't have any effect. This looks to be an oversight in
the commit 335eabec. Let's drop the whole statement to get rid of this
warning.
-rw-r--r-- | src/nautilus-search-hit.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nautilus-search-hit.c b/src/nautilus-search-hit.c index 6efaa5613..98ac14261 100644 --- a/src/nautilus-search-hit.c +++ b/src/nautilus-search-hit.c @@ -464,9 +464,6 @@ nautilus_search_hit_class_init (NautilusSearchHitClass *class) static void nautilus_search_hit_init (NautilusSearchHit *hit) { - hit = G_TYPE_INSTANCE_GET_PRIVATE (hit, - NAUTILUS_TYPE_SEARCH_HIT, - NautilusSearchHit); } NautilusSearchHit * |