summaryrefslogtreecommitdiff
path: root/src/caja-window-bookmarks.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-09-06 23:34:12 +0200
committerStefano Karapetsas <[email protected]>2012-09-06 23:34:12 +0200
commit278df62878f2981dea980c5f48e791e047b9d5f1 (patch)
tree3a3bcc3a2360d9fd16adc44821b2343085247858 /src/caja-window-bookmarks.c
parentf426641aacea9d5f7683be776536bc6301c7baef (diff)
downloadcaja-278df62878f2981dea980c5f48e791e047b9d5f1.tar.bz2
caja-278df62878f2981dea980c5f48e791e047b9d5f1.tar.xz
remove old undo code
Diffstat (limited to 'src/caja-window-bookmarks.c')
-rw-r--r--src/caja-window-bookmarks.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/caja-window-bookmarks.c b/src/caja-window-bookmarks.c
index 02ce3a64..e2b6ec73 100644
--- a/src/caja-window-bookmarks.c
+++ b/src/caja-window-bookmarks.c
@@ -33,7 +33,6 @@
#include "caja-bookmarks-window.h"
#include "caja-window-bookmarks.h"
#include "caja-window-private.h"
-#include <libcaja-private/caja-undo-manager.h>
#include <eel/eel-debug.h>
#include <eel/eel-stock-dialogs.h>
#include <eel/eel-vfs-extensions.h>
@@ -102,18 +101,14 @@ show_bogus_bookmark_window (CajaWindow *window,
static GtkWindow *
get_or_create_bookmarks_window (CajaWindow *window)
{
- GObject *undo_manager_source;
-
- undo_manager_source = G_OBJECT (window);
-
if (bookmarks_window == NULL)
{
bookmarks_window = create_bookmarks_window (window->details->bookmark_list,
- undo_manager_source);
+ window);
}
else
{
- edit_bookmarks_dialog_set_signals (undo_manager_source);
+ edit_bookmarks_dialog_set_signals (window);
}
return bookmarks_window;