glib r6401 - trunk/gio
- From: alexl svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r6401 - trunk/gio
- Date: Mon, 28 Jan 2008 21:06:10 +0000 (GMT)
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 <alexl redhat com>
* 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]