The documentation claims
g_on_error_stack_trace () looks up
/|prg_name|/ : the program name, needed by *gdb* for the [S]tack trace
option. If /|prg_name|/ is |NULL|
<http://developer.gnome.org/doc/API/2.0/glib/glib-Standard-Macros.html#NULL:CAPS>,
|g_get_prgname()|
<http://developer.gnome.org/doc/API/2.0/glib/glib-Miscellaneous-Utility-Functions.html#g-get-prgname>
is called to get the program name (which will work correctly if
|gdk_init()|
<http://developer.gnome.org/doc/API/2.0/gdk/gdk-General.html#gdk-init>
or |gtk_init()|
<http://developer.gnome.org/doc/API/2.0/gtk/gtk-General.html#gtk-init>
has been called).
but it doesn't,
g_on_error_query () on the other hand has the same documentation
for it's parameter and does. Calling both from the same location
produces different results.
--
Alexander Faucher
Ceton Corporation
4030 Lake Washington Blvd. NE, Suite 208
Kirkland, WA 98033
Phone: 425.828.0515
Fax: 206.299.3536
_______________________________________________
gnome-doc-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-doc-list