diff options
author | Carlos Soriano <csoriano@gnome.org> | 2015-02-09 18:24:32 +0100 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2015-03-02 13:38:09 +0100 |
commit | 2a1d2df280c4eb0c5f46c15c6f47e00d496db865 (patch) | |
tree | 1ecb04f8f37204d0750e7c580c9442dde1690d4b /src/nautilus-notebook.c | |
parent | b740ea3cc015cc721bf09f20584b83fed31595eb (diff) | |
download | nautilus-2a1d2df280c4eb0c5f46c15c6f47e00d496db865.tar.gz |
nautilus-window: Use private instead of details
A code clean up that will make things easier for the next patch
where we will use a template for the window
Diffstat (limited to 'src/nautilus-notebook.c')
-rw-r--r-- | src/nautilus-notebook.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nautilus-notebook.c b/src/nautilus-notebook.c index 600b4e2bb..d69d01e66 100644 --- a/src/nautilus-notebook.c +++ b/src/nautilus-notebook.c @@ -28,7 +28,7 @@ #include "nautilus-notebook.h" #include "nautilus-window.h" -#include "nautilus-window-private.h" +#include "nautilus-window.h" #include "nautilus-window-slot.h" #include "nautilus-window-slot-dnd.h" @@ -117,7 +117,7 @@ find_notebook_at_pointer (gint abs_x, gint abs_y) /* toplevel should be an NautilusWindow */ if (toplevel != NULL && NAUTILUS_IS_WINDOW (toplevel)) { - return NAUTILUS_NOTEBOOK (NAUTILUS_WINDOW (toplevel)->details->notebook); + return NAUTILUS_NOTEBOOK (nautilus_window_get_notebook (NAUTILUS_WINDOW (toplevel))); } return NULL; |