Commit f1fc86c4 authored by Andre Klapper's avatar Andre Klapper 💬

Make librsvg compile with -DGSEAL_ENABLED. Fixes bug 612489.

parent 0592c1b5
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment