Re: Simple GdkFont and GtkStyle question



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.


Would seem that orig_style is NULL then.  Check that.

It wasn't NULL, I double checked that.

I recompiled my code just to double check and it *appears* for the time
being that it's not producing the error anymore.


--
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]