summaryrefslogtreecommitdiff
path: root/src/nautilus-search-popover.h
diff options
context:
space:
mode:
authorAlexandru Fazakas <alex.fazakas97@yahoo.com>2018-03-15 21:17:27 +0200
committerAlexandru Fazakas <alex.fazakas97@yahoo.com>2018-03-19 14:43:38 +0200
commit95ecfc8ea0629801ae1f8119f3be0b3526e6b147 (patch)
tree27dc3f769f9a4e43fb340cff2eaf4a8c0cf9ff54 /src/nautilus-search-popover.h
parentb1be1fc680d95264f7be6e0a1e3a45f597da6b80 (diff)
downloadnautilus-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-search-popover.h')
-rw-r--r--src/nautilus-search-popover.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/nautilus-search-popover.h b/src/nautilus-search-popover.h
index 91845cd4c..2137592b5 100644
--- a/src/nautilus-search-popover.h
+++ b/src/nautilus-search-popover.h
@@ -16,8 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef NAUTILUS_SEARCH_POPOVER_H
-#define NAUTILUS_SEARCH_POPOVER_H
+#pragma once
#include <glib.h>
#include <gtk/gtk.h>
@@ -50,6 +49,4 @@ gboolean nautilus_search_popover_get_fts_enabled (NautilusSearch
void nautilus_search_popover_set_fts_sensitive (NautilusSearchPopover *popover,
gboolean sensitive);
-G_END_DECLS
-
-#endif /* NAUTILUS_SEARCH_POPOVER_H */
+G_END_DECLS \ No newline at end of file