[gnome-initial-setup/gbsneto/accounts-crash-bug: 1/3] account: Use pragma once in headers




commit b28b5b1a7268143cdd0a4c88483c652e64649b8b
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue Jul 26 17:43:05 2022 -0300

    account: Use pragma once in headers
    
    A sprinkle of modernity there.

 gnome-initial-setup/pages/account/gis-account-page-enterprise.h | 4 +---
 gnome-initial-setup/pages/account/gis-account-page-local.h      | 4 +---
 gnome-initial-setup/pages/account/gis-account-page.h            | 5 +----
 gnome-initial-setup/pages/account/gis-account-pages.h           | 5 +----
 4 files changed, 4 insertions(+), 14 deletions(-)
---
diff --git a/gnome-initial-setup/pages/account/gis-account-page-enterprise.h 
b/gnome-initial-setup/pages/account/gis-account-page-enterprise.h
index 2ba334ee..01a6962f 100644
--- a/gnome-initial-setup/pages/account/gis-account-page-enterprise.h
+++ b/gnome-initial-setup/pages/account/gis-account-page-enterprise.h
@@ -19,8 +19,7 @@
  *     Jasper St. Pierre <jstpierre mecheye net>
  */
 
-#ifndef __GIS_ACCOUNT_PAGE_ENTERPRISE_H__
-#define __GIS_ACCOUNT_PAGE_ENTERPRISE_H__
+#pragma once
 
 #include <adwaita.h>
 
@@ -60,4 +59,3 @@ void     gis_account_page_enterprise_shown (GisAccountPageEnterprise *enterprise
 
 G_END_DECLS
 
-#endif /* __GIS_ACCOUNT_PAGE_ENTERPRISE_H__ */
diff --git a/gnome-initial-setup/pages/account/gis-account-page-local.h 
b/gnome-initial-setup/pages/account/gis-account-page-local.h
index 91e543c4..bf670073 100644
--- a/gnome-initial-setup/pages/account/gis-account-page-local.h
+++ b/gnome-initial-setup/pages/account/gis-account-page-local.h
@@ -19,8 +19,7 @@
  *     Jasper St. Pierre <jstpierre mecheye net>
  */
 
-#ifndef __GIS_ACCOUNT_PAGE_LOCAL_H__
-#define __GIS_ACCOUNT_PAGE_LOCAL_H__
+#pragma once
 
 #include <adwaita.h>
 
@@ -57,4 +56,3 @@ void gis_account_page_local_shown (GisAccountPageLocal *local);
 
 G_END_DECLS
 
-#endif /* __GIS_ACCOUNT_PAGE_LOCAL_H__ */
diff --git a/gnome-initial-setup/pages/account/gis-account-page.h 
b/gnome-initial-setup/pages/account/gis-account-page.h
index 7629e1a3..006fcbd1 100644
--- a/gnome-initial-setup/pages/account/gis-account-page.h
+++ b/gnome-initial-setup/pages/account/gis-account-page.h
@@ -19,8 +19,7 @@
  *     Jasper St. Pierre <jstpierre mecheye net>
  */
 
-#ifndef __GIS_ACCOUNT_PAGE_H__
-#define __GIS_ACCOUNT_PAGE_H__
+#pragma once
 
 #include <glib-object.h>
 
@@ -51,5 +50,3 @@ struct _GisAccountPageClass
 GType gis_account_page_get_type (void);
 
 G_END_DECLS
-
-#endif /* __GIS_ACCOUNT_PAGE_H__ */
diff --git a/gnome-initial-setup/pages/account/gis-account-pages.h 
b/gnome-initial-setup/pages/account/gis-account-pages.h
index 394421bc..9cf41bbd 100644
--- a/gnome-initial-setup/pages/account/gis-account-pages.h
+++ b/gnome-initial-setup/pages/account/gis-account-pages.h
@@ -19,8 +19,7 @@
  *     Jasper St. Pierre <jstpierre mecheye net>
  */
 
-#ifndef __GIS_ACCOUNT_PAGES_H__
-#define __GIS_ACCOUNT_PAGES_H__
+#pragma once
 
 #include <glib-object.h>
 
@@ -32,5 +31,3 @@ GisPage *gis_prepare_account_page (GisDriver *driver);
 
 G_END_DECLS
 
-#endif /* __GIS_ACCOUNT_PAGES_H__ */
-


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]