summaryrefslogtreecommitdiff
path: root/src/nautilus-desktop-window.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2012-04-23 18:29:32 -0400
committerCosimo Cecchi <cosimoc@gnome.org>2012-04-24 11:48:20 -0400
commit2cf25e2a64a88b09e3d1cd5d205a9c401da42f0e (patch)
tree7a12b3f97e34cf986e58483587f4d67958709212 /src/nautilus-desktop-window.c
parent393ebc0d8aef0e9c3c2875772f13acdaf66d6346 (diff)
downloadnautilus-2cf25e2a64a88b09e3d1cd5d205a9c401da42f0e.tar.gz
all: trivial cleanups
Diffstat (limited to 'src/nautilus-desktop-window.c')
-rw-r--r--src/nautilus-desktop-window.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/nautilus-desktop-window.c b/src/nautilus-desktop-window.c
index b9b42f0b3..55ee4471e 100644
--- a/src/nautilus-desktop-window.c
+++ b/src/nautilus-desktop-window.c
@@ -48,6 +48,21 @@ G_DEFINE_TYPE (NautilusDesktopWindow, nautilus_desktop_window,
NAUTILUS_TYPE_WINDOW);
static void
+nautilus_desktop_window_update_directory (NautilusDesktopWindow *window)
+{
+ GFile *location;
+
+ g_assert (NAUTILUS_IS_DESKTOP_WINDOW (window));
+
+ window->details->loaded = FALSE;
+ location = g_file_new_for_uri (EEL_DESKTOP_URI);
+ nautilus_window_go_to (NAUTILUS_WINDOW (window), location);
+ window->details->loaded = TRUE;
+
+ g_object_unref (location);
+}
+
+static void
nautilus_desktop_window_dispose (GObject *obj)
{
NautilusDesktopWindow *window = NAUTILUS_DESKTOP_WINDOW (obj);
@@ -124,21 +139,6 @@ nautilus_desktop_window_delete_event (NautilusDesktopWindow *window)
return TRUE;
}
-void
-nautilus_desktop_window_update_directory (NautilusDesktopWindow *window)
-{
- GFile *location;
-
- g_assert (NAUTILUS_IS_DESKTOP_WINDOW (window));
-
- window->details->loaded = FALSE;
- location = g_file_new_for_uri (EEL_DESKTOP_URI);
- nautilus_window_go_to (NAUTILUS_WINDOW (window), location);
- window->details->loaded = TRUE;
-
- g_object_unref (location);
-}
-
static void
nautilus_desktop_window_screen_size_changed (GdkScreen *screen,
NautilusDesktopWindow *window)