Why libglade doesn't do a gtk_object_ref to the widget returned by
glade_xml_get_widget ?
I think that the correct implementation of that function will be:
GtkWidget *
glade_xml_get_widget (GladeXML *self, const char *name)
{
GtkWidget *w;
g_return_val_if_fail(self != NULL, NULL);
g_return_val_if_fail(name != NULL, NULL);
if ((w = g_hash_table_lookup(self->priv->name_hash, name)) != NULL)
gtk_object_ref (GTK_OBJECT (w));
return w;
}
--
Joaquín Cuenca Abela
e-mail: [EMAIL PROTECTED]
+---------------------------------------------------------------------+
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the line "unsubscribe glade-devel" in the body of the message.