All pastes #935604 Raw Edit

Unnamed

public text v1 · immutable
·published 2008-03-09 19:37 UTC
rendered paste body
--- src/namescope.cpp   (revision 97811)
+++ src/namescope.cpp   (working copy)
@@ -48,6 +48,7 @@
 void
 NameScope::RegisterName (const char *name, DependencyObject *object)
 {
+       object->ref ();
        g_hash_table_insert (names, g_strdup (name), object);
 }