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



commit fd8eafe7acb2037e3a294ba2844a39fe4ca4aa05
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]