summaryrefslogtreecommitdiff
path: root/client/gvfsurimapper.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2007-11-12 13:52:00 +0000
committerAlexander Larsson <alexl@src.gnome.org>2007-11-12 13:52:00 +0000
commitaa8ba44b40ab79a997cd4ee050ce119c33435f50 (patch)
treea16c3875aa714cbd9cac6235c16fd59388d8d477 /client/gvfsurimapper.c
parent5390fb86582c79939b7a51ef512bd28664bbb1ca (diff)
downloadgvfs-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.c12
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)