[gnome-control-center/gbsneto/interactive-test-panels: 5/16] panel-loader: Use #pragma once



commit a6c983d499317d8ef4ef6aa8f318e01a199c80b8
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Wed Nov 7 19:59:13 2018 -0200

    panel-loader: Use #pragma once
    
    Saves use a few lines of code.

 shell/cc-panel-loader.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/shell/cc-panel-loader.h b/shell/cc-panel-loader.h
index 499442478..fd0b9f96a 100644
--- a/shell/cc-panel-loader.h
+++ b/shell/cc-panel-loader.h
@@ -18,8 +18,7 @@
  *
  */
 
-#ifndef _CC_PANEL_LOADER_H
-#define _CC_PANEL_LOADER_H
+#pragma once
 
 #include <glib.h>
 #include <glib-object.h>
@@ -36,4 +35,3 @@ CcPanel *cc_panel_loader_load_by_name   (CcShell       *shell,
 
 G_END_DECLS
 
-#endif


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