Re: Gtk2::Gdk::Display->open and undef
- From: Torsten Schoenfeld <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: Gtk2::Gdk::Display->open and undef
- Date: Sun, 20 Apr 2008 19:02:36 +0200
Kevin Ryde wrote:
I think gdk_display_open accepts NULL, to mean use the DISPLAY
environment variable (the same as XOpenDisplay), though the docs don't
seem to say so explicitly.
gdk_display_open passes the string directly to XOpenDisplay without
looking at it, so yeah, it inherits the NULL-behavior. Committed with a
test case. Thanks!
--
-Torsten
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]