summaryrefslogtreecommitdiff
path: root/src/nautilus-navigation-window-menus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nautilus-navigation-window-menus.c')
-rw-r--r--src/nautilus-navigation-window-menus.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nautilus-navigation-window-menus.c b/src/nautilus-navigation-window-menus.c
index 652ab9a05..38667db89 100644
--- a/src/nautilus-navigation-window-menus.c
+++ b/src/nautilus-navigation-window-menus.c
@@ -350,6 +350,7 @@ forget_history_if_yes (GtkDialog *dialog, int response, gpointer callback_data)
if (response == GTK_RESPONSE_YES) {
nautilus_forget_history ();
}
+ gtk_object_destroy (GTK_OBJECT (dialog));
}
static void
@@ -791,6 +792,8 @@ remove_bookmarks_for_uri_if_yes (GtkDialog *dialog, int response, gpointer callb
uri = callback_data;
nautilus_bookmark_list_delete_items_with_uri (get_bookmark_list (), uri);
}
+
+ gtk_object_destroy (GTK_OBJECT (dialog));
}
static void