Re: [Gegl-developer] status of gegl/image

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Calvin Williamson wrote:
| On 02/01/04, Daniel Rogers wrote:
|
|>-----BEGIN PGP SIGNED MESSAGE-----
|>Hash: SHA1
|>
|>hi, time for a status update,
|>
|>I finished writing the tests for GeglMemoryCache, the first concrete
|>cache implementation.  This also means I have a pretty good idea that
|>GeglMemoryCache works :-).  This was the first non-obvious class I had
|>to write.
|
|
| Great. This looks like a good start.
|
| Dont forget to always chain up in any dispose or finalize routines...
|
| eg
|
| static void
| finalize(GObject *gobject)
| {
|
|   blah ... blah
|
|   G_OBJECT_CLASS(parent_class)->finalize(gobject);
| }
|
| If you dont override the finalize or dispose of course
| you dont have to, but if you do, you must remember to chain up,
| else Glib with object debugging turned on (G_ENABLE_DEBUG and
G_TYPE_DEBUG_OBJECTS
| both defined) will crash in g_object_last_unref trying to dispose/finalize
| that object.

Well, G_TYPE_DEBUG_OBJECTS is already enabled with
g_type_init_with_debug_flags() in testgegl.c  I assume that
G_ENABLE_DEBUG is a preprocessor define, yet I find not mention of it in
my glib headers.  Anyhoo, I passed -DG_ENABLE_DEBUG as a compiler flag
and I still don't get those messages.  Did I do something wrong??

Also, this stuff didn't show up in valgrind.  Is that normal?

- --
Dan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/96Sead4P1+ZAZk0RAhpQAKCFuHmKn+j/aeG/VL5GYl+LmY2UvQCZARoE
w802CNZ3kZBBcidliCd2TWo=
=Geuw
-----END PGP SIGNATURE-----


[Index of Archives]     [Yosemite News]     [Yosemite Photos]     [gtk]     [GIMP Users]     [KDE]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux