[gnome-control-center] region: Replace ifdefs with #pragma once



commit d2ddaa99ea6837c6e1203149a58d1885e285613d
Author: Robert Ancell <robert ancell canonical com>
Date:   Thu Nov 21 20:36:59 2019 +1300

    region: Replace ifdefs with #pragma once

 panels/region/cc-ibus-utils.h | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/panels/region/cc-ibus-utils.h b/panels/region/cc-ibus-utils.h
index c1047d710..20a0516e7 100644
--- a/panels/region/cc-ibus-utils.h
+++ b/panels/region/cc-ibus-utils.h
@@ -15,8 +15,7 @@
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef __CC_IBUS_UTILS_H__
-#define __CC_IBUS_UTILS_H__
+#pragma once
 
 #include <ibus.h>
 
@@ -25,5 +24,3 @@ G_BEGIN_DECLS
 gchar *engine_get_display_name (IBusEngineDesc *engine_desc);
 
 G_END_DECLS
-
-#endif /* __CC_IBUS_UTILS_H__ */


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