After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 80256 - _gdk_x11_copy_to_image and visual == NULL
_gdk_x11_copy_to_image and visual == NULL
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: [obsolete] multihead
2.0.x
Other Linux
: Normal normal
: ---
Assigned To: Erwann Chenede
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2002-04-29 19:01 UTC by Owen Taylor
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
clean up _gdk_x11_copy_to_image wrt to multihead stuff (2.69 KB, patch)
2002-04-30 16:31 UTC, Erwann Chenede
none Details | Review

Description Owen Taylor 2002-04-29 19:01:08 UTC
_gdk_x11_copy_to_image() was written to allow visual == NULL,
but the multihead changes introduced visual->screen references.
Comment 1 Erwann Chenede 2002-04-30 16:30:33 UTC
The multihead related code in this function was all over the place.
Here is a patch to fix the bug + an other one described in the 
following thread 
http://mail.gnome.org/archives/gtk-devel-list/2002-April/msg00145.html

Can I commit ?
Comment 2 Erwann Chenede 2002-04-30 16:31:49 UTC
Created attachment 8068 [details] [review]
clean up _gdk_x11_copy_to_image wrt to multihead stuff
Comment 3 Owen Taylor 2002-04-30 16:50:41 UTC
Yes, looks fine to commit, but please don't close bugs until the fix
is in CVS :-)
Comment 4 Erwann Chenede 2002-04-30 17:03:29 UTC
Sorry, it is in CVS. I'm closing the bug.