[nautilus/wip/ernestask/tasks-irisified: 26/28] directory: add include guards



commit 305fb70141c388c956428f0ef36ed3602582afd2
Author: Ernestas Kulik <ernestask gnome org>
Date:   Tue Aug 15 21:36:58 2017 +0300

    directory: add include guards
    
    That’s a first.

 src-ng/nautilus-directory.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src-ng/nautilus-directory.h b/src-ng/nautilus-directory.h
index 60e3803..cb6927c 100644
--- a/src-ng/nautilus-directory.h
+++ b/src-ng/nautilus-directory.h
@@ -16,6 +16,9 @@
  * along with Nautilus.  If not, see <https://www.gnu.org/licenses/>.
  */
 
+#ifndef NAUTILUS_DIRECTORY_H_INCLUDED
+#define NAUTILUS_DIRECTORY_H_INCLUDED
+
 #include "nautilus-file.h"
 
 #define NAUTILUS_TYPE_DIRECTORY (nautilus_directory_get_type ())
@@ -42,3 +45,5 @@ void nautilus_directory_enumerate_children (NautilusDirectory                 *d
                                             gpointer                           user_data);
 
 NautilusFile *nautilus_directory_new (GFile *location);
+
+#endif


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