Fix compilation against latest GTK+-3 changes

GDK_WINDOW_XWINDOW has been removed. All calls should use
gdk_x11_window_get_xid() instead.
This commit is contained in:
Jason D. Clinton
2010-12-02 16:07:34 -06:00
parent 0c8941715d
commit 7ce65e421b
4 changed files with 6 additions and 6 deletions

View File

@ -106,7 +106,7 @@ shell_embedded_window_realize (GtkWidget *widget)
* modifying the GDK hierarchy.
*/
XReparentWindow (GDK_DISPLAY_XDISPLAY (gtk_widget_get_display (widget)),
GDK_WINDOW_XWINDOW (gtk_widget_get_window (widget)),
gdk_x11_window_get_xid (gtk_widget_get_window (widget)),
window->priv->stage_xwindow,
window->priv->position.x, window->priv->position.y);
}