Re: how to catch g_warning?
- From: Roger Leigh <rleigh whinlatter ukfsn org>
- To: gtkmm-list gnome org
- Subject: Re: how to catch g_warning?
- Date: Wed, 19 Jan 2005 19:16:42 +0000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
"Damon Oberholster" <damon websurfer co za> writes:
> I need to catch a g_warning...what kind of exception is it?
> (Like I would say catch(what?){} )
It's not an exception, it's a warning message (part of GLib):
http://developer.gnome.org/doc/API/2.0/glib/glib-Message-Logging.html#g-warning
Why do you want to catch it? If you get one, you generally have a bug
in your code.
Regards,
Roger
- --
Roger Leigh
Printing on GNU/Linux? http://gimp-print.sourceforge.net/
Debian GNU/Linux http://www.debian.org/
GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iD8DBQFB7rIYVcFcaSW/uEgRAptRAKCryiygKOJuZgt9EnpZTz7ErfScTgCgyBQf
t7WhGDPRqs1jGAfB/P/aAXM=
=AbDg
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]