Re: GnomeVFS backend for GtkFileChooser



On Thu, 2003-10-30 at 09:26, Alexander Larsson wrote:
> 
> Really? How do you implement an interface without linking to the
> library?
> 
> In particular, how would you call:
>   g_type_add_interface_static (file_system_gnome_vfs_type,
>                                GTK_TYPE_FILE_SYSTEM,
>                                &file_system_info);
> 
> without linking to the library that defines gtk_file_system_get_type().
> 

The plugin for GtkFileChooser links to GTK. libgnomevfs does not.

> You can't. So, either:
> a) gtk_file_system_get_type() goes in some lib below gtk+
> b) gnome-vfs links to gtk+
> c) the gnome-vfs implemenation of GtkFileSystem goes in libgnomeui
> 

d) the gnome-vfs implementation of GtkFileSystem is in a dlopen'd
plugin, not libgnomevfs

Havoc





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