gtk_object_get_data and gtk_object_set_data



Gda_ConnectionPool uses gtk_object_set_data to store the dsn with each
provider, and gtk_object_get_data to investigate if a connection that
is requested is already there.
Actually, only the gda_name is compared.
As there is no similar function to gtk_object_???_data in glib (at last
I found none), would something hinder us to simple store the gda_name
of the connection in a new member of the Gda_Connection structure
(of course via two new functions gda_connection_set_gda_name and
gda_connection_get_gda_name)?

Thanks,
--
Reinhard Müller
BYTEWISE Software GmbH
reinhard mueller bytewise at
www.bytewise.at





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