diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2010-08-21 13:12:37 +0200 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2010-09-11 15:03:00 +0200 |
commit | faeb0c8930ab8ea13fa1268fb49474280763d605 (patch) | |
tree | 3269c969cee37726a65986374510000352fe358d | |
parent | 8b8993c501e46be37cb0bd12bbbd6ca9f76effea (diff) | |
download | nautilus-faeb0c8930ab8ea13fa1268fb49474280763d605.tar.gz |
slot: cleanup previous commit
There was an unused variable left
-rw-r--r-- | src/nautilus-window-slot.c | 6 | ||||
-rw-r--r-- | 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 b6b65682c..e690d7f14 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 76228ca29..9f95d2026 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; |