Re: [gnome-db] about gnome-db-grid (probably silly)
- From: Vivien Malerba <vmalerba gmail com>
- To: Jacopo Urbani <apo linux it>
- Cc: gnome-db-list gnome org
- Subject: Re: [gnome-db] about gnome-db-grid (probably silly)
- Date: Tue, 8 Mar 2005 22:31:42 +0100
On Tue, 08 Mar 2005 21:00:28 +0100, Jacopo Urbani <apo linux it> wrote:
> hi all, that's time that i do not use libgda and i have some problem
> with the new library's version. Using the old version of the libgnomedb
> i could use a method gnome_db_grid_set_model(..) in my little programs.
> So now i've just installed the new version, downloaded with cvs, but i
> cannot find that method. I think that it's very strange that is removed
> (that's very usefull), your ideas about that? Please forget me if it's a
> silly question. Thanks, bye.
>
> Some other informations...
>
> CVS string to download (maybe is the wrong branch?):
>
> cvs -z3 -d :pserver:anonymous anoncvs gnome org:/cvs/gnome co libgnomedb
>
> and my output:
> ...
> gcc -Wall -g -o bookcase support.o main.o interface.o callbacks.o
> connect.o common.o conf.o -Wl,--export-dynamic -Wl,--export-dynamic
> -L/usr/X11R6/lib -pthread
> -L/home/apo/Desktop/locale_libs/lib /home/apo/Desktop/locale_libs/lib/libgnomedb-2.so /home/apo/Desktop/locale_libs/lib/libgnomedb_graph-2.so /home/apo/Desktop/locale_libs/lib/libgnomedb_handlers-2.so /home/apo/Desktop/locale_libs/lib/libgnomedb_parser-2.so /home/apo/Desktop/locale_libs/lib/libgda-2.so /usr/lib/libgnomeui-2.so -lSM -lICE /usr/lib/libglade-2.0.so /usr/lib/libxslt.so /usr/lib/libbonoboui-2.so /usr/lib/libgnomecanvas-2.so /usr/lib/libgnome-2.so /usr/lib/libpopt.so /usr/lib/libart_lgpl_2.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgnomevfs-2.so /usr/lib/libbonobo-2.so /usr/lib/libgconf-2.so /usr/lib/libbonobo-activation.so /usr/lib/libORBit-2.so /usr/lib/libgthread-2.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libxml2.so -lpthread -lz /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -Wl,--rpath -Wl,/home/apo/Desktop/locale_libs/lib -Wl,--rpath -Wl,/home/apo/Desktop/locale_libs/lib
> callbacks.o(.text+0x158): In function `on_button2_clicked':
> /home/apo/Desktop/biblio/src/callbacks.c:72: undefined reference to
> `gnome_db_grid_set_model'
The new GnomeDbGrid widget implements the GnomeDbDataWidget (also
implemented by the GnomeDbForm), so you can use the following method
instead:
gnome_db_data_widget_set_gda_model (GnomeDbDataWidget *iface,
GnomeDbDict *dict,
GdaDataModel *model);
where you can give NULL for the 'dict' argument if you don't already
have a GnomeDbDict object.
If it does not work, please fill a bug report using bugzilla
(http://bugzilla.gnome.org/)
For more information you can browse the documentation in the
doc/C/html directory.
Cheers,
Vivien
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]