[nautilus] Remove dead code.
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] Remove dead code.
- Date: Thu, 1 Jul 2010 12:52:46 +0000 (UTC)
commit 7f6f20fd30dd989b85dbf132fd06e7e3e850d82c
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Jul 1 14:54:26 2010 +0200
Remove dead code.
src/nautilus-window-slot.c | 16 ----------------
1 files changed, 0 insertions(+), 16 deletions(-)
---
diff --git a/src/nautilus-window-slot.c b/src/nautilus-window-slot.c
index 2eb319d..df3c164 100644
--- a/src/nautilus-window-slot.c
+++ b/src/nautilus-window-slot.c
@@ -389,16 +389,6 @@ nautilus_window_slot_update_icon (NautilusWindowSlot *slot)
}
}
-static void
-title_changed_callback (NautilusView *view,
- NautilusWindowSlot *slot)
-{
- g_assert (NAUTILUS_IS_WINDOW (slot->pane->window));
-
- nautilus_window_slot_update_title (slot);
- nautilus_window_slot_update_icon (slot);
-}
-
void
nautilus_window_slot_is_in_active_pane (NautilusWindowSlot *slot,
gboolean is_active)
@@ -424,10 +414,6 @@ nautilus_window_slot_connect_content_view (NautilusWindowSlot *slot,
{
NautilusWindow *window;
- g_signal_connect (view, "title-changed",
- G_CALLBACK (title_changed_callback),
- slot);
-
window = slot->pane->window;
if (window != NULL && slot == nautilus_window_get_active_slot (window)) {
nautilus_window_connect_content_view (window, view);
@@ -440,8 +426,6 @@ nautilus_window_slot_disconnect_content_view (NautilusWindowSlot *slot,
{
NautilusWindow *window;
- g_signal_handlers_disconnect_by_func (view, G_CALLBACK (title_changed_callback), slot);
-
window = slot->pane->window;
if (window != NULL && window->details->active_pane && window->details->active_pane->active_slot == slot) {
nautilus_window_disconnect_content_view (window, view);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]