Comment 15 for bug 737298

Revision history for this message
Gellule (gellule-xg) wrote :

For the label issue, I think I see where I was wrong. A few of the g_value_unset are called too soon.
Example in ege-output-action.cpp:

        g_value_init( &value, G_TYPE_STRING );
        g_object_get_property( G_OBJECT(action), "short_label", &value );
        const gchar* sss = g_value_get_string( &value );
        g_value_unset( &value );

g_value_unset should not be called before we are done with sss, since sss is just a reference.

Is it more convenient if I split the patch into individual files?