summaryrefslogtreecommitdiff
path: root/src/nautilus-shell-search-provider.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-shell-search-provider.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-shell-search-provider.h')
-rw-r--r--src/nautilus-shell-search-provider.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/nautilus-shell-search-provider.h b/src/nautilus-shell-search-provider.h
index 821663132..8eaa675cb 100644
--- a/src/nautilus-shell-search-provider.h
+++ b/src/nautilus-shell-search-provider.h
@@ -21,8 +21,7 @@
*
*/
-#ifndef __NAUTILUS_SHELL_SEARCH_PROVIDER_H__
-#define __NAUTILUS_SHELL_SEARCH_PROVIDER_H__
+#pragma once
#define NAUTILUS_TYPE_SHELL_SEARCH_PROVIDER nautilus_shell_search_provider_get_type()
#define NAUTILUS_SHELL_SEARCH_PROVIDER(obj) \
@@ -37,6 +36,4 @@ NautilusShellSearchProvider * nautilus_shell_search_provider_new (void);
gboolean nautilus_shell_search_provider_register (NautilusShellSearchProvider *self,
GDBusConnection *connection,
GError **error);
-void nautilus_shell_search_provider_unregister (NautilusShellSearchProvider *self);
-
-#endif /* __NAUTILUS_SHELL_SEARCH_PROVIDER_H__ */
+void nautilus_shell_search_provider_unregister (NautilusShellSearchProvider *self); \ No newline at end of file