[nautilus-sendto] Fix build with recent gtk+
- From: hadess src gnome org
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-sendto] Fix build with recent gtk+
- Date: Wed, 2 Feb 2011 13:24:38 +0000 (UTC)
commit 12a2b33a2ca737e503e25140f29ab762feeec0b3
Author: Emilio Pozuelo Monfort <pochu27 gmail com>
Date: Sat Jan 22 18:23:06 2011 +0000
Fix build with recent gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=640283
configure.in | 2 +-
src/nautilus-sendto-command.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.in b/configure.in
index bad1f48..adc0a64 100644
--- a/configure.in
+++ b/configure.in
@@ -33,7 +33,7 @@ dnl --------------------------------------------------
GLIB_REQUIRED=2.25.9
GTHREAD_REQUIRED=2.6.0
-GTK_REQUIRED=2.90.3
+GTK_REQUIRED=2.91.7
EBOOK_REQUIRED=1.5.3
DBUS_REQUIRED=1.0
DBUS_GLIB_REQUIRED=0.60
diff --git a/src/nautilus-sendto-command.c b/src/nautilus-sendto-command.c
index 952e0a9..1fd4668 100644
--- a/src/nautilus-sendto-command.c
+++ b/src/nautilus-sendto-command.c
@@ -454,7 +454,7 @@ nautilus_sendto_create_ui (NautilusSendto *nst)
if (xid != 0) {
GdkWindow *window;
gtk_widget_realize (nst->dialog);
- window = gdk_window_foreign_new (xid);
+ window = gdk_x11_window_foreign_new_for_display (gdk_display_get_default (), xid);
gdk_window_set_transient_for (gtk_widget_get_window (nst->dialog),
window);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]