summaryrefslogtreecommitdiff
path: root/src/nautilus-window-slot.h
diff options
context:
space:
mode:
authorAlexandru Fazakas <alex.fazakas97@yahoo.com>2018-03-15 21:17:27 +0200
committerAlexandru Fazakas <alex.fazakas97@yahoo.com>2018-03-19 14:43:38 +0200
commit95ecfc8ea0629801ae1f8119f3be0b3526e6b147 (patch)
tree27dc3f769f9a4e43fb340cff2eaf4a8c0cf9ff54 /src/nautilus-window-slot.h
parentb1be1fc680d95264f7be6e0a1e3a45f597da6b80 (diff)
downloadnautilus-95ecfc8ea0629801ae1f8119f3be0b3526e6b147.tar.gz
general: Remove include guards in favor of pragma once
The traditional include guards are not as easy to handle and require extra thought into the names. Pragma once is an easier, more contributor friendly approach. Closes https://gitlab.gnome.org/GNOME/nautilus/issues/294 general: Remove include guards in favor of pragma once The traditional include guards are not as easy to handle and require extra thought into the names. Pragma once is an easier, more contributor friendly approach. Closes https://gitlab.gnome.org/GNOME/nautilus/issues/294
Diffstat (limited to 'src/nautilus-window-slot.h')
-rw-r--r--src/nautilus-window-slot.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/nautilus-window-slot.h b/src/nautilus-window-slot.h
index 573357d9b..f62454e48 100644
--- a/src/nautilus-window-slot.h
+++ b/src/nautilus-window-slot.h
@@ -19,8 +19,7 @@
Author: Christian Neumair <cneumair@gnome.org>
*/
-#ifndef NAUTILUS_WINDOW_SLOT_H
-#define NAUTILUS_WINDOW_SLOT_H
+#pragma once
#include <gdk/gdk.h>
#include <gio/gio.h>
@@ -123,6 +122,4 @@ void nautilus_window_slot_restore_from_data (NautilusWindowSlot *self,
RestoreTabData* nautilus_window_slot_get_restore_tab_data (NautilusWindowSlot *self);
/* Only used by slot-dnd */
-NautilusView* nautilus_window_slot_get_current_view (NautilusWindowSlot *slot);
-
-#endif /* NAUTILUS_WINDOW_SLOT_H */
+NautilusView* nautilus_window_slot_get_current_view (NautilusWindowSlot *slot); \ No newline at end of file