[gtk+/filechooser-recent-folders-2-24] Remove unused struct field



commit dfdb51e3247395ea6017caaef6abf695a0519c21
Author: Federico Mena Quintero <federico gnome org>
Date:   Tue Jun 28 18:53:48 2011 -0500

    Remove unused struct field
    
    Signed-off-by: Federico Mena Quintero <federico gnome org>

 gtk/gtkfilechooserdefault.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c
index 0b7b6ac..da848f4 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -9020,7 +9020,6 @@ typedef struct
   GtkFileChooserDefault *impl;
   GList *items;
   gint n_items;
-  gint n_loaded_items;
   guint needs_sorting : 1;
 } RecentLoadData;
 
@@ -9122,7 +9121,6 @@ recent_idle_load (gpointer data)
             }
          }
 
-      load_data->n_loaded_items = 0;
       load_data->needs_sorting = FALSE;
 
       return TRUE;
@@ -9163,7 +9161,6 @@ recent_start_loading (GtkFileChooserDefault *impl)
   load_data->impl = impl;
   load_data->items = NULL;
   load_data->n_items = 0;
-  load_data->n_loaded_items = 0;
   load_data->needs_sorting = TRUE;
 
   /* begin lazy loading the recent files into the model */



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