[gimp] gimp-remote: don't use deprecated gdk_window_foreign_new_for_display()



commit 60c94c69b93af20782958eb013dc83686ea27520
Author: Nils Philippsen <nils redhat com>
Date:   Tue May 3 12:14:53 2011 +0200

    gimp-remote: don't use deprecated gdk_window_foreign_new_for_display()
    
    use gdk_x11_window_foreign_new_for_display() instead

 tools/gimp-remote-x11.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tools/gimp-remote-x11.c b/tools/gimp-remote-x11.c
index 8f23d48..4bc5ae4 100644
--- a/tools/gimp-remote-x11.c
+++ b/tools/gimp-remote-x11.c
@@ -135,7 +135,7 @@ gimp_remote_find_toolbox (GdkDisplay *display,
               strcmp ((const gchar *) data, "gimp-toolbox") == 0)
             {
               XFree (data);
-              result = gdk_window_foreign_new_for_display (display, window);
+              result = gdk_x11_window_foreign_new_for_display (display, window);
               break;
             }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]