diff options
author | Alexander Larsson <alexl@src.gnome.org> | 2007-09-13 15:04:33 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2007-09-13 15:04:33 +0000 |
commit | ae59a22c51881999b768f401b6d867ed63355b0d (patch) | |
tree | bea44843588c825a28d782d9b1f330f3b225fa25 /client/gdaemonvfs.h | |
parent | e877e9f17a6b1564f7d9ca437bc3ea7fb1685b57 (diff) | |
download | gvfs-ae59a22c51881999b768f401b6d867ed63355b0d.tar.gz |
Use GIOModule to load vfs.
This required GVfs to be a baseclass, not an interface
Original git commit by Alexander Larsson <alexl@redhat.com> at 1188556712 +0200
svn path=/trunk/; revision=874
Diffstat (limited to 'client/gdaemonvfs.h')
-rw-r--r-- | client/gdaemonvfs.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/client/gdaemonvfs.h b/client/gdaemonvfs.h index a04058f1..b3d70fa0 100644 --- a/client/gdaemonvfs.h +++ b/client/gdaemonvfs.h @@ -8,13 +8,6 @@ G_BEGIN_DECLS -#define G_TYPE_DAEMON_VFS (g_daemon_vfs_get_type ()) -#define G_DAEMON_VFS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_DAEMON_VFS, GDaemonVfs)) -#define G_DAEMON_VFS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), G_TYPE_DAEMON_VFS, GDaemonVfsClass)) -#define G_IS_DAEMON_VFS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_DAEMON_VFS)) -#define G_IS_DAEMON_VFS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), G_TYPE_DAEMON_VFS)) -#define G_DAEMON_VFS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), G_TYPE_DAEMON_VFS, GDaemonVfsClass)) - typedef struct _GDaemonVfs GDaemonVfs; typedef struct _GDaemonVfsClass GDaemonVfsClass; @@ -30,12 +23,7 @@ typedef void (*GMountRefLookupCallback) (GMountRef *mount_ref, gpointer data, GError *error); -struct _GDaemonVfsClass -{ - GObjectClass parent_class; -}; - -GType g_daemon_vfs_get_type (void) G_GNUC_CONST; +GType g_daemon_vfs_get_type (GTypeModule *module); GDaemonVfs *g_daemon_vfs_new (void); |