Re: Simple GdkFont and GtkStyle question
- From: learfox furry ao net
- To: Havoc Pennington <hp redhat com>
- Cc: GTK Application Development List <gtk-app-devel-list gnome org>
- Subject: Re: Simple GdkFont and GtkStyle question
- Date: Wed, 3 Jan 2001 03:31:46 -0800 (PST)
Oh one more thing, when I gtk_style_copy(), I gdk_font_unref()
the font it came with before loading a new one, when I did that and when I
exited I got:
GLib-CRITICAL **: file gcache.c: line 160 (g_cache_remove): assertion
`node != NULL' failed.
Could be totally unrelated; I have no idea. You'd have to run in gdb
with --g-fatal-warnings and get a backtrace.
I don't think I'm familiar with the --g-fatal-warnings option, my gdb
(version 4.17.0.11) dosen't seem to support it.
Basically this error occures when I:
style = gtk_style_copy(orig_style);
gdk_font_unref(style->font);
style->font = gdk_font_load(...);
/* Later on... */
gtk_style_unref(style);
As soon as I unref the style I get the error.
--
Sincerely, ,"-_ \|/
-Capt. Taura M. , O=__ --X--
..__ ,_JNMNNEO=_ /|\
OMNOUMmnne. {OMMNNNEEEEOO=_
UOOOBIOOOEOMMn. 'LONMMMMNNEEEOOO=.__..,,..
UUOOEUUOOOOOOOObe '"=OMMMMWNEEEOOOOO,"=OEEEOO=,._
OOUUUIEEIOONNOIUbe. "7OMMMMNNNNNWWEEEEOOOOOO" "'.
EEBNNMMMNWNWWEEIMMNe. __ 7EMMMNNNNNWWWEEEEEEEOO. " .
NNMMMMWWWMMMWEINMMMNn "=BBEEEEMMMMMMMMNNNWWWEEOOOOO=._ .
http://furry.ao.net/~learfox/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]