[librsvg] Make librsvg compile with -DGSEAL_ENABLED. Fixes bug 612489.



commit f1fc86c474d714f3d0485b690f09b2410648a9cb
Author: Andre Klapper <a9016009 gmx de>
Date:   Wed Mar 10 22:55:48 2010 +0100

    Make librsvg compile with -DGSEAL_ENABLED. Fixes bug 612489.

 test-display.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/test-display.c b/test-display.c
index 3391188..f441d59 100644
--- a/test-display.c
+++ b/test-display.c
@@ -631,9 +631,9 @@ view_pixbuf (ViewerCbInfo * info, int xid, const char *color)
 
 #ifdef ENABLE_XEMBED
     if (xid > 0) {
-        XReparentWindow (GDK_WINDOW_XDISPLAY (win->window),
-                         GDK_WINDOW_XID (win->window), xid, 0, 0);
-        XMapWindow (GDK_WINDOW_XDISPLAY (win->window), GDK_WINDOW_XID (win->window));
+        XReparentWindow (GDK_WINDOW_XDISPLAY (gtk_widget_get_window(win)),
+                         GDK_WINDOW_XID (gtk_widget_get_window(win)), xid, 0, 0);
+        XMapWindow (GDK_WINDOW_XDISPLAY (gtk_widget_get_window(win)), GDK_WINDOW_XID (gtk_widget_get_window(win)));
     }
 #endif
 }



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