Fix for bug 887. Use the right function to set the window position.

svn path=/trunk/; revision=18059
This commit is contained in:
Jaap Keuter 2006-05-01 10:59:06 +00:00
parent f48115ba5c
commit f27830e9f5
1 changed files with 6 additions and 0 deletions

View File

@ -362,9 +362,15 @@ window_set_geometry(GtkWidget *widget, window_geometry_t *geom)
{
/* as we now have the geometry from the recent file, set it */
if (geom->set_pos) {
#if GTK_MAJOR_VERSION >= 2
gtk_window_move(GTK_WINDOW(widget),
geom->x,
geom->y);
#else
gtk_widget_set_uposition(widget,
geom->x,
geom->y);
#endif
}
if (geom->set_size) {