[gedit] Define GEDIT_LOCKDOWN_ALL outside the enum



commit 70539309afca20efd55787741b0ef3c5c7186706
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Fri Jul 2 15:16:49 2010 +0200

    Define GEDIT_LOCKDOWN_ALL outside the enum

 gedit/gedit-app.h |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gedit/gedit-app.h b/gedit/gedit-app.h
index 09af06e..8563490 100644
--- a/gedit/gedit-app.h
+++ b/gedit/gedit-app.h
@@ -96,10 +96,12 @@ typedef enum
 	GEDIT_LOCKDOWN_COMMAND_LINE	= 1 << 0,
 	GEDIT_LOCKDOWN_PRINTING		= 1 << 1,
 	GEDIT_LOCKDOWN_PRINT_SETUP	= 1 << 2,
-	GEDIT_LOCKDOWN_SAVE_TO_DISK	= 1 << 3,
-	GEDIT_LOCKDOWN_ALL		= 0xF
+	GEDIT_LOCKDOWN_SAVE_TO_DISK	= 1 << 3
 } GeditLockdownMask;
 
+/* We need to define this here to avoid problems with bindings and gsettings */
+#define GEDIT_LOCKDOWN_ALL 0xF
+
 /*
  * Public methods
  */



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