RE: GnomeVFS API and libgnome API ?



Le jeu 13/03/2003 à 14:06, C C a écrit :
> Thanks for your explanations, Christophe.
> 
> To detect gnome-vfs-2.0 (or >2.0) at runtime, is the
> following true:
> - if a GTK app (requiring GTK>=2.0.6) is running fine,
> then this GTK app can also assume gnome-vfs is also
> available?

nope, gnome-vfs is a gnome lib, and gnome is installed on top of gtk, ie
you can install gtk without installing gnome-vfs.

> - Non GUI apps could detect if they can use (not
> install) gnome-vfs at runtime by doing a dlopen on the
> gnome-vfs shared library and a dlsym on the function
> "gnome_vfs_initialized". If this passes, then the app
> can assume gnome-vfs can be used?


Yeah, something like that should work if you want to load gnome-vfs at
runtime.
Out of curiosity, what are you trying to achieve ? That seems a bit
weird not to link against gnome-vfs at compile time :)

Christophe

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=



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