Author: alexl
Date: Mon Jan 28 21:06:10 2008
New Revision: 6401
URL: http://svn.gnome.org/viewvc/glib?rev=6401&view=rev
Log:
2008-01-28 Alexander Larsson <[EMAIL PROTECTED]>
* glocalvfs.c:
Register local vfs with prio 0.
* gvfs.h:
Remove old name and prio class members
Modified:
trunk/gio/ChangeLog
trunk/gio/glocalvfs.c
trunk/gio/gvfs.h
Modified: trunk/gio/glocalvfs.c
==============================================================================
--- trunk/gio/glocalvfs.c (original)
+++ trunk/gio/glocalvfs.c Mon Jan 28 21:06:10 2008
@@ -43,8 +43,11 @@
};
#define g_local_vfs_get_type _g_local_vfs_get_type
-G_DEFINE_TYPE (GLocalVfs, g_local_vfs, G_TYPE_VFS)
-
+G_DEFINE_TYPE_WITH_CODE (GLocalVfs, g_local_vfs, G_TYPE_VFS,
+ g_io_extension_point_implement
(G_VFS_EXTENSION_POINT_NAME,
+ g_define_type_id,
+ "local",
+ 0))
static void
g_local_vfs_finalize (GObject *object)
{
@@ -189,9 +192,6 @@
vfs_class = G_VFS_CLASS (class);
- vfs_class->name = "local";
- vfs_class->priority = 0;
-
vfs_class->is_active = g_local_vfs_is_active;
vfs_class->get_file_for_path = g_local_vfs_get_file_for_path;
vfs_class->get_file_for_uri = g_local_vfs_get_file_for_uri;
Modified: trunk/gio/gvfs.h
==============================================================================
--- trunk/gio/gvfs.h (original)
+++ trunk/gio/gvfs.h Mon Jan 28 21:06:10 2008
@@ -57,9 +57,6 @@
{
GObjectClass parent_class;
- const char *name;
- int priority;
-
/* Virtual Table */
gboolean (*is_active) (GVfs *vfs);
_______________________________________________
SVN-commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/svn-commits-list
Want to limit the commits to a few modules? Go to above URL, log in to edit
your options and select the modules ('topics') you want.
Module maintainer? It is possible to set the reply-to to your development
mailing list. Email [EMAIL PROTECTED] if interested.