[gnome-builder] cursor: use #pragma once
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] cursor: use #pragma once
- Date: Mon, 16 Oct 2017 19:42:17 +0000 (UTC)
commit 4751ceec9d9b0dde95960916c9949778925cdbc5
Author: Christian Hergert <chergert redhat com>
Date: Mon Oct 16 12:41:33 2017 -0700
cursor: use #pragma once
src/libide/sourceview/ide-cursor.h | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/src/libide/sourceview/ide-cursor.h b/src/libide/sourceview/ide-cursor.h
index 89aea03..e6e178b 100644
--- a/src/libide/sourceview/ide-cursor.h
+++ b/src/libide/sourceview/ide-cursor.h
@@ -16,9 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef __IDE_CURSOR_
-
-#define __IDE_CURSOR_
+#pragma once
#include <glib-object.h>
@@ -44,5 +42,3 @@ void ide_cursor_insert_text (IdeCursor *self,
gboolean ide_cursor_is_enabled (IdeCursor *self);
G_END_DECLS
-
-#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]