diff options
author | Alexandru Fazakas <alex.fazakas97@yahoo.com> | 2018-03-15 21:17:27 +0200 |
---|---|---|
committer | Alexandru Fazakas <alex.fazakas97@yahoo.com> | 2018-03-19 14:43:38 +0200 |
commit | 95ecfc8ea0629801ae1f8119f3be0b3526e6b147 (patch) | |
tree | 27dc3f769f9a4e43fb340cff2eaf4a8c0cf9ff54 /src/nautilus-location-entry.h | |
parent | b1be1fc680d95264f7be6e0a1e3a45f597da6b80 (diff) | |
download | nautilus-95ecfc8ea0629801ae1f8119f3be0b3526e6b147.tar.gz |
general: Remove include guards in favor of pragma once
The traditional include guards are not as easy to handle
and require extra thought into the names.
Pragma once is an easier, more contributor friendly approach.
Closes https://gitlab.gnome.org/GNOME/nautilus/issues/294
general: Remove include guards in favor of pragma once
The traditional include guards are not as easy to handle
and require extra thought into the names.
Pragma once is an easier, more contributor friendly approach.
Closes https://gitlab.gnome.org/GNOME/nautilus/issues/294
Diffstat (limited to 'src/nautilus-location-entry.h')
-rw-r--r-- | src/nautilus-location-entry.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/nautilus-location-entry.h b/src/nautilus-location-entry.h index 5c1948154..bdff5388a 100644 --- a/src/nautilus-location-entry.h +++ b/src/nautilus-location-entry.h @@ -22,8 +22,7 @@ * Ettore Perazzoli <ettore@gnu.org> */ -#ifndef NAUTILUS_LOCATION_ENTRY_H -#define NAUTILUS_LOCATION_ENTRY_H +#pragma once #include <gtk/gtk.h> @@ -49,6 +48,4 @@ void nautilus_location_entry_set_special_text (NautilusLocationEntry * void nautilus_location_entry_set_secondary_action (NautilusLocationEntry *entry, NautilusLocationEntryAction secondary_action); void nautilus_location_entry_set_location (NautilusLocationEntry *entry, - GFile *location); - -#endif /* NAUTILUS_LOCATION_ENTRY_H */ + GFile *location);
\ No newline at end of file |