[gnome-utils] Move enum in the C file



commit 958ba3d7f66550588f3dbbb270b485c91a772098
Author: Paolo Borelli <pborelli gnome org>
Date:   Sat Jul 24 15:20:59 2010 +0200

    Move enum in the C file

 baobab/src/baobab-prefs.c |   11 +++++++++++
 baobab/src/baobab-prefs.h |   13 -------------
 2 files changed, 11 insertions(+), 13 deletions(-)
---
diff --git a/baobab/src/baobab-prefs.c b/baobab/src/baobab-prefs.c
index f40e04f..feb54ab 100644
--- a/baobab/src/baobab-prefs.c
+++ b/baobab/src/baobab-prefs.c
@@ -34,6 +34,17 @@
 #include "baobab-utils.h"
 #include "baobab-prefs.h"
 
+enum
+{
+	COL_CHECK,
+	COL_DEVICE,
+	COL_MOUNT_D,
+	COL_MOUNT,
+	COL_TYPE,
+	COL_FS_SIZE,
+	COL_FS_AVAIL,
+	TOT_COLUMNS
+};
 
 static gboolean
 add_excluded_item (GtkTreeModel  *model,
diff --git a/baobab/src/baobab-prefs.h b/baobab/src/baobab-prefs.h
index ee3248d..1f1916f 100644
--- a/baobab/src/baobab-prefs.h
+++ b/baobab/src/baobab-prefs.h
@@ -23,19 +23,6 @@
 #ifndef __BAOBAB_PROPS_H__
 #define __BAOBAB_PROPS_H__
 
-/* props model columns */
-enum
-{
-	COL_CHECK,
-	COL_DEVICE,
-	COL_MOUNT_D,
-	COL_MOUNT,
-	COL_TYPE,
-	COL_FS_SIZE,
-	COL_FS_AVAIL,
-	TOT_COLUMNS
-};
-
 void create_props (void);
 
 #endif /* __BAOBAB_PROPS_H__ */



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