Commit 5d43e5ba authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

made multi-head safe. The whole tree compiles with GDK_MULTIHEAD_SAFE now.

2003-10-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/wmf.c: made multi-head safe. The whole tree
	compiles with GDK_MULTIHEAD_SAFE now.
parent 93dadb8a
2003-10-31 Sven Neumann <sven@gimp.org>
* plug-ins/common/wmf.c: made multi-head safe.
2003-10-31 Sven Neumann <sven@gimp.org>
* tools/gimp-remote.c: made multi-head safe. Let GTK+ parse the
......@@ -986,13 +986,13 @@ make_canvas (OrgAndExt *window,
viewport->org_x + viewport->ext_x, viewport->org_y + viewport->ext_y);
#endif
canvas->colormap = gdk_colormap_get_system ();
canvas->colormap = gdk_screen_get_system_colormap (gdk_screen_get_default ());
canvas->width = viewport->ext_x;
canvas->height = viewport->ext_y;
canvas->pixmap = gdk_pixmap_new (NULL, viewport->ext_x, viewport->ext_y,
gdk_visual_get_system ()->depth);
gdk_colormap_get_visual (canvas->colormap)->depth);
canvas->dc.gc = gdk_gc_new (canvas->pixmap);
......@@ -2149,7 +2149,7 @@ load_image (const gchar *filename)
TRUE, FALSE);
if (pixel_rgn.bpp != 3)
abort ();
visual = gdk_visual_get_system ();
visual = gdk_screen_get_system_visual (gdk_screen_get_default ());
switch (visual->type)
{
case GDK_VISUAL_PSEUDO_COLOR:
......
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