[nautilus] [ln-p] GSEAL nautilus-undo.
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] [ln-p] GSEAL nautilus-undo.
- Date: Fri, 11 Jun 2010 11:29:32 +0000 (UTC)
commit 0405cc8c808247eff6672a1ae69fd35c6bda841b
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri Jun 11 13:17:54 2010 +0200
[ln-p] GSEAL nautilus-undo.
libnautilus-private/nautilus-undo.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libnautilus-private/nautilus-undo.c b/libnautilus-private/nautilus-undo.c
index 2dac0d4..ea8952d 100644
--- a/libnautilus-private/nautilus-undo.c
+++ b/libnautilus-private/nautilus-undo.c
@@ -153,7 +153,7 @@ nautilus_undo_get_undo_manager (GObject *start_object)
/* Check for undo manager up the parent chain. */
if (GTK_IS_WIDGET (start_object)) {
- parent = GTK_WIDGET (start_object)->parent;
+ parent = gtk_widget_get_parent (GTK_WIDGET (start_object));
if (parent != NULL) {
manager = nautilus_undo_get_undo_manager (G_OBJECT (parent));
if (manager != NULL) {
@@ -163,7 +163,7 @@ nautilus_undo_get_undo_manager (GObject *start_object)
/* Check for undo manager in our window's parent. */
if (GTK_IS_WINDOW (start_object)) {
- transient_parent = GTK_WINDOW (start_object)->transient_parent;
+ transient_parent = gtk_window_get_transient_for (GTK_WINDOW (start_object));
if (transient_parent != NULL) {
manager = nautilus_undo_get_undo_manager (G_OBJECT (transient_parent));
if (manager != NULL) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]