[eog/friemann/krifa75-pragma-once: 3/3] plugins: Replace include guards with #pragma once
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog/friemann/krifa75-pragma-once: 3/3] plugins: Replace include guards with #pragma once
- Date: Sat, 9 Jul 2022 19:29:25 +0000 (UTC)
commit 83c77db2f2ef8875c6a53691a6df939ad88665a7
Author: Felix Riemann <friemann gnome org>
Date: Sat Jul 9 21:29:08 2022 +0200
plugins: Replace include guards with #pragma once
This leaves out the statusbar-date plugin as this will likely
going to be dropped soon.
plugins/fullscreen/eog-fullscreen-plugin.h | 5 +----
plugins/reload/eog-reload-plugin.h | 5 +----
2 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/plugins/fullscreen/eog-fullscreen-plugin.h b/plugins/fullscreen/eog-fullscreen-plugin.h
index 422e2019..b8b380b8 100644
--- a/plugins/fullscreen/eog-fullscreen-plugin.h
+++ b/plugins/fullscreen/eog-fullscreen-plugin.h
@@ -19,8 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#ifndef __EOG_FULLSCREEN_PLUGIN_H__
-#define __EOG_FULLSCREEN_PLUGIN_H__
+#pragma once
#include <glib.h>
#include <glib-object.h>
@@ -77,5 +76,3 @@ GType eog_fullscreen_plugin_get_type (void) G_GNUC_CONST;
G_MODULE_EXPORT void peas_register_types (PeasObjectModule *module);
G_END_DECLS
-
-#endif /* __EOG_FULLSCREEN_PLUGIN_H__ */
diff --git a/plugins/reload/eog-reload-plugin.h b/plugins/reload/eog-reload-plugin.h
index 6dd90972..fe30973d 100644
--- a/plugins/reload/eog-reload-plugin.h
+++ b/plugins/reload/eog-reload-plugin.h
@@ -19,8 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#ifndef __EOG_RELOAD_PLUGIN_H__
-#define __EOG_RELOAD_PLUGIN_H__
+#pragma once
#include <glib.h>
#include <glib-object.h>
@@ -76,5 +75,3 @@ GType eog_reload_plugin_get_type (void) G_GNUC_CONST;
G_MODULE_EXPORT void peas_register_types (PeasObjectModule *module);
G_END_DECLS
-
-#endif /* __EOG_RELOAD_PLUGIN_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]