guile-gtk-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (gnome gtk) behavior when opening the display fails


From: Greg Troxel
Subject: Re: (gnome gtk) behavior when opening the display fails
Date: Mon, 01 Feb 2010 07:46:09 -0500
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (berkeley-unix)

gregory benison <address@hidden> writes:

> i.e. if the display can't be opened for some reason, trying to load
> (gnome gtk) causes the program simply to exit... which I suppose is
> correct behavior, but might it be nice to have a way of catching the
> error so that a program could, for example, print out a "hey, I can't
> open any displays, what should I do" type of message?

It's not the right behavior.  Displaying something is only one aspect of
behavior, and the program shouldn't even try to open the display on
use-modules.  It should only open it when needed, and then just throw an
error when an open fails during use.

Attachment: pgplSBsYDYNmA.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]