[gedit] cleanup: move fieldset at the end of the struct
- From: Paolo Borelli <pborelli src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gedit] cleanup: move fieldset at the end of the struct
- Date: Sat, 28 Nov 2009 10:44:21 +0000 (UTC)
commit 8966ff837feebf0e647293114c5876c358e861df
Author: Paolo Borelli <pborelli gnome org>
Date: Sat Nov 28 11:14:26 2009 +0100
cleanup: move fieldset at the end of the struct
gedit/gedit-document.c | 17 ++++++++---------
1 files changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/gedit/gedit-document.c b/gedit/gedit-document.c
index cdfcd11..914c829 100644
--- a/gedit/gedit-document.c
+++ b/gedit/gedit-document.c
@@ -98,12 +98,6 @@ static void delete_range_cb (GeditDocument *doc,
struct _GeditDocumentPrivate
{
- gint readonly : 1;
- gint last_save_was_manually : 1;
- gint language_set_by_user : 1;
- gint stop_cursor_moved_emission : 1;
- gint dispose_has_run : 1;
-
gchar *uri;
gint untitled_number;
@@ -112,7 +106,6 @@ struct _GeditDocumentPrivate
gchar *content_type;
GTimeVal mtime;
-
GTimeVal time_of_last_save_or_load;
guint search_flags;
@@ -129,13 +122,19 @@ struct _GeditDocumentPrivate
/* Saving stuff */
GeditDocumentSaver *saver;
- /* Search highlighting support variables */
+ /* Search highlighting support variables */
GeditTextRegion *to_search_region;
GtkTextTag *found_tag;
-
+
/* Mount operation factory */
GeditMountOperationFactory mount_operation_factory;
gpointer mount_operation_userdata;
+
+ gint readonly : 1;
+ gint last_save_was_manually : 1;
+ gint language_set_by_user : 1;
+ gint stop_cursor_moved_emission : 1;
+ gint dispose_has_run : 1;
};
enum {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]