[nautilus-actions] Remove useless gnome-vfs include files
- From: Pierre Wieser <pwieser src gnome org>
- To: svn-commits-list gnome org
- Subject: [nautilus-actions] Remove useless gnome-vfs include files
- Date: Wed, 10 Jun 2009 16:13:36 -0400 (EDT)
commit bdf3669484f9e27470a3c93d8a9965f63ff22623
Author: Pierre Wieser <pwieser trychlos org>
Date: Wed Jun 10 20:04:23 2009 +0200
Remove useless gnome-vfs include files
---
ChangeLog | 2 ++
src/common/nact-action-profile.c | 14 +++++++-------
src/plugin/nautilus-actions.c | 5 +----
3 files changed, 10 insertions(+), 11 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 028dad9..ecd7e36 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,8 @@
* src/common/nact-action-profile.c (nact_action_profile_free):
Fix disallocation of the profile by calling g_object_unref.
+ * src/plugin/nautilus-actions.c: Remove useless include files.
+
2009-06-09 Pierre Wieser <pwieser trychlos org>
* configure.ac: Bump version number for 1.11.0 release.
diff --git a/src/common/nact-action-profile.c b/src/common/nact-action-profile.c
index b2180a2..6736c14 100644
--- a/src/common/nact-action-profile.c
+++ b/src/common/nact-action-profile.c
@@ -430,13 +430,13 @@ instance_finalize( GObject *object )
g_assert( NACT_IS_ACTION_PROFILE( object ));
NactActionProfile *self = ( NactActionProfile * ) object;
- g_free( profile->private->name );
- g_free( profile->private->label );
- g_free( profile->private->path );
- g_free( profile->private->parameters );
- nactuti_free_string_list( profile->private->basenames );
- nactuti_free_string_list( profile->private->mimetypes );
- nactuti_free_string_list( profile->private->schemes );
+ g_free( self->private->name );
+ g_free( self->private->label );
+ g_free( self->private->path );
+ g_free( self->private->parameters );
+ nactuti_free_string_list( self->private->basenames );
+ nactuti_free_string_list( self->private->mimetypes );
+ nactuti_free_string_list( self->private->schemes );
/* chain call to parent class */
if((( GObjectClass * ) st_parent_class )->finalize ){
diff --git a/src/plugin/nautilus-actions.c b/src/plugin/nautilus-actions.c
index a821979..3f2b177 100644
--- a/src/plugin/nautilus-actions.c
+++ b/src/plugin/nautilus-actions.c
@@ -35,9 +35,6 @@
#include <string.h>
#include <libgnomevfs/gnome-vfs.h>
-#include <libgnomevfs/gnome-vfs-utils.h>
-#include <libgnomevfs/gnome-vfs-file-info.h>
-#include <libgnomevfs/gnome-vfs-ops.h>
#include <libnautilus-extension/nautilus-extension-types.h>
#include <libnautilus-extension/nautilus-file-info.h>
@@ -199,7 +196,7 @@ instance_init( GTypeInstance *instance, gpointer klass )
* a good idea to rewrite this extension to use equivalent methods
* from GIO/GVFS.
*
- * plugins/nautilus-actions-utils.c:nautilus_actions_utils_parse_parameter
+ * src/common/nact-action-profile.c:nact_action_profile_parse_parameters
* is the only function that makes use of gnome_vfs methods.
*
* See: Bug #574919
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]