[nautilus] Don't use a function to get the active slot.
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus] Don't use a function to get the active slot.
- Date: Thu, 10 Dec 2009 17:15:33 +0000 (UTC)
commit 531ff030ef016b118f174252b1ac9aee0e385c63
Author: Holger Berndt <berndth gmx de>
Date: Sun Jun 7 17:18:51 2009 +0200
Don't use a function to get the active slot.
src/nautilus-window-slot.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-window-slot.c b/src/nautilus-window-slot.c
index 680f2fb..83cbb55 100644
--- a/src/nautilus-window-slot.c
+++ b/src/nautilus-window-slot.c
@@ -416,7 +416,7 @@ nautilus_window_slot_disconnect_content_view (NautilusWindowSlot *slot,
g_signal_handlers_disconnect_by_func (view, G_CALLBACK (title_changed_callback), slot);
window = slot->pane->window;
- if (window != NULL && slot == nautilus_window_get_active_slot (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]