diff options
author | Alexander Larsson <alexl@redhat.com> | 2007-11-12 13:52:00 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2007-11-12 13:52:00 +0000 |
commit | aa8ba44b40ab79a997cd4ee050ce119c33435f50 (patch) | |
tree | a16c3875aa714cbd9cac6235c16fd59388d8d477 /client/gvfsurimapper.c | |
parent | 5390fb86582c79939b7a51ef512bd28664bbb1ca (diff) | |
download | gvfs-aa8ba44b40ab79a997cd4ee050ce119c33435f50.tar.gz |
Make this class dynamic
2007-11-12 Alexander Larsson <alexl@redhat.com>
* client/gvfsurimapper.[ch]:
Make this class dynamic
* client/Makefile.am:
* client/gdaemonvfs.c:
* client/smburi.c:
Build smb uri mapper into module
(this avoids extra .so files)
svn path=/trunk/; revision=1021
Diffstat (limited to 'client/gvfsurimapper.c')
-rw-r--r-- | client/gvfsurimapper.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/client/gvfsurimapper.c b/client/gvfsurimapper.c index 2b320b7e..b632b524 100644 --- a/client/gvfsurimapper.c +++ b/client/gvfsurimapper.c @@ -25,7 +25,13 @@ #include <gmodule.h> #include "gvfsurimapper.h" -G_DEFINE_TYPE (GVfsUriMapper, g_vfs_uri_mapper, G_TYPE_OBJECT); +G_DEFINE_DYNAMIC_TYPE (GVfsUriMapper, g_vfs_uri_mapper, G_TYPE_OBJECT); + +void +g_vfs_uri_mapper_register (GIOModule *module) +{ + g_vfs_uri_mapper_register_type (G_TYPE_MODULE (module)); +} GVfsUriMountInfo * g_vfs_uri_mount_info_new (const char *type) @@ -127,6 +133,10 @@ g_vfs_uri_mount_info_set (GVfsUriMountInfo *info, } +static void +g_vfs_uri_mapper_class_finalize (GVfsUriMapperClass *klass) +{ +} static void g_vfs_uri_mapper_class_init (GVfsUriMapperClass *klass) |