[nautilus/gnome-2-32] slot: cleanup previous commit



commit faeb0c8930ab8ea13fa1268fb49474280763d605
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sat Aug 21 13:12:37 2010 +0200

    slot: cleanup previous commit
    
    There was an unused variable left

 src/nautilus-window-slot.c |    6 +++---
 src/nautilus-window-slot.h |    3 +--
 2 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/src/nautilus-window-slot.c b/src/nautilus-window-slot.c
index b6b6568..e690d7f 100644
--- a/src/nautilus-window-slot.c
+++ b/src/nautilus-window-slot.c
@@ -181,7 +181,7 @@ nautilus_window_slot_init (NautilusWindowSlot *slot)
 	frame = gtk_frame_new (NULL);
 	gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_ETCHED_IN);
 	gtk_box_pack_start (GTK_BOX (content_box), frame, FALSE, FALSE, 0);
-	slot->extra_location_event_box = frame;
+	slot->extra_location_frame = frame;
 
 	eventbox = gtk_event_box_new ();
 	gtk_widget_set_name (eventbox, "nautilus-extra-view-widget");
@@ -531,7 +531,7 @@ nautilus_window_slot_remove_extra_location_widgets (NautilusWindowSlot *slot)
 	gtk_container_foreach (GTK_CONTAINER (slot->extra_location_widgets),
 			       remove_all,
 			       slot->extra_location_widgets);
-	gtk_widget_hide (slot->extra_location_event_box);
+	gtk_widget_hide (slot->extra_location_frame);
 }
 
 void
@@ -540,7 +540,7 @@ nautilus_window_slot_add_extra_location_widget (NautilusWindowSlot *slot,
 {
 	gtk_box_pack_start (GTK_BOX (slot->extra_location_widgets),
 			    widget, TRUE, TRUE, 0);
-	gtk_widget_show (slot->extra_location_event_box);
+	gtk_widget_show (slot->extra_location_frame);
 }
 
 void
diff --git a/src/nautilus-window-slot.h b/src/nautilus-window-slot.h
index 76228ca..9f95d20 100644
--- a/src/nautilus-window-slot.h
+++ b/src/nautilus-window-slot.h
@@ -72,9 +72,8 @@ struct NautilusWindowSlot {
  	 *  2) the view box for the content view
  	 */
 	GtkWidget *content_box;
-	GtkWidget *extra_location_event_box;
+	GtkWidget *extra_location_frame;
 	GtkWidget *extra_location_widgets;
-	GtkWidget *extra_location_separator;
 	GtkWidget *view_box;
 
 	NautilusView *content_view;



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