[gedit/wip/view-frame-cleanup: 3/4] ViewFrame: don't align fields in the private struct



commit c710c115faf054e1420720cf6bbdcde2f22581e6
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Wed Aug 7 18:53:42 2013 +0200

    ViewFrame: don't align fields in the private struct
    
    The alignment was broken, and if we fix it now, it will again be broken
    in the near future.

 gedit/gedit-view-frame.c |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/gedit/gedit-view-frame.c b/gedit/gedit-view-frame.c
index 6ea7ffb..a4a338d 100644
--- a/gedit/gedit-view-frame.c
+++ b/gedit/gedit-view-frame.c
@@ -47,8 +47,8 @@ typedef enum
 
 struct _GeditViewFramePrivate
 {
-       GeditView   *view;
-       SearchMode   search_mode;
+       GeditView *view;
+       SearchMode search_mode;
 
        /* Where the search has started. When the user presses escape in the
         * search entry (to cancel the search), we return to the start_mark.
@@ -58,21 +58,21 @@ struct _GeditViewFramePrivate
        /* Used to restore the search state if an incremental search is
         * cancelled.
         */
-       gchar       *old_search_text;
+       gchar *old_search_text;
 
        GtkRevealer *revealer;
        GdTaggedEntry *search_entry;
        GdTaggedEntryTag *entry_tag;
-       GtkWidget   *go_up_button;
-       GtkWidget   *go_down_button;
+       GtkWidget *go_up_button;
+       GtkWidget *go_down_button;
 
-       guint        typeselect_flush_timeout;
-       glong        view_scroll_event_id;
-       glong        search_entry_focus_out_id;
-       glong        search_entry_changed_id;
-       guint        idle_update_entry_tag_id;
+       guint typeselect_flush_timeout;
+       glong view_scroll_event_id;
+       glong search_entry_focus_out_id;
+       glong search_entry_changed_id;
+       guint idle_update_entry_tag_id;
 
-       guint        disable_popdown : 1;
+       guint disable_popdown : 1;
 
        /* Used to remember the state of the last incremental search (the
         * buffer search state may be changed by the search and replace dialog).


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