[gedit/wip/browser-menu] Rellocate method



commit 94de70d3bb8ca918bdf6a5aa2d8511d1a65ed90d
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Thu Apr 18 18:15:46 2013 +0200

    Rellocate method

 plugins/filebrowser/gedit-file-browser-widget.c | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)
---
diff --git a/plugins/filebrowser/gedit-file-browser-widget.c b/plugins/filebrowser/gedit-file-browser-widget.c
index 597d3ec..587a17a 100644
--- a/plugins/filebrowser/gedit-file-browser-widget.c
+++ b/plugins/filebrowser/gedit-file-browser-widget.c
@@ -314,15 +314,6 @@ combo_find_by_id (GeditFileBrowserWidget *obj,
 }
 
 static void
-remove_path_items (GeditFileBrowserWidget *obj)
-{
-       GtkTreeIter iter;
-
-       while (combo_find_by_id (obj, PATH_ID, &iter))
-               gtk_tree_store_remove (obj->priv->combo_model, &iter);
-}
-
-static void
 cancel_async_operation (GeditFileBrowserWidget *widget)
 {
        if (!widget->priv->cancellable)
@@ -710,6 +701,17 @@ insert_location_path (GeditFileBrowserWidget *obj)
 }
 
 static void
+remove_path_items (GeditFileBrowserWidget *obj)
+{
+       GtkTreeIter iter;
+
+       while (combo_find_by_id (obj, PATH_ID, &iter))
+       {
+               gtk_tree_store_remove (obj->priv->combo_model, &iter);
+       }
+}
+
+static void
 check_current_item (GeditFileBrowserWidget *obj,
                    gboolean                show_path)
 {


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