[nautilus-actions] Remove some extraneous blank lines



commit 7a1cb24604b52891fffadcca35b380aecb929f99
Author: Pierre Wieser <pwieser trychlos org>
Date:   Tue Jun 2 09:38:26 2009 +0200

    Remove some extraneous blank lines
---
 src/common/nact-action-profile.c |    7 +------
 src/common/nact-action.c         |    5 +++--
 src/common/nact-storage.c        |    1 +
 3 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/src/common/nact-action-profile.c b/src/common/nact-action-profile.c
index ad1a162..d60193d 100644
--- a/src/common/nact-action-profile.c
+++ b/src/common/nact-action-profile.c
@@ -233,7 +233,6 @@ instance_init( GTypeInstance *instance, gpointer klass )
 	g_debug( "%s: instance=%p, klass=%p", thisfn, instance, klass );
 
 	g_assert( NACT_IS_ACTION_PROFILE( instance ));
-
 	NactActionProfile* self = NACT_ACTION_PROFILE( instance );
 
 	self->private = g_new0( NactActionProfilePrivate, 1 );
@@ -310,7 +309,6 @@ static void
 instance_set_property( GObject *object, guint property_id, const GValue *value, GParamSpec *spec )
 {
 	g_assert( NACT_IS_ACTION_PROFILE( object ));
-
 	NactActionProfile *self = NACT_ACTION_PROFILE( object );
 
 	switch( property_id ){
@@ -382,7 +380,6 @@ instance_dispose( GObject *object )
 	g_debug( "%s: object=%p", thisfn, object );
 
 	g_assert( NACT_IS_ACTION_PROFILE( object ));
-
 	NactActionProfile *self = NACT_ACTION_PROFILE( object );
 
 	if( !self->private->dispose_has_run ){
@@ -401,7 +398,6 @@ instance_finalize( GObject *object )
 	g_debug( "%s: object=%p", thisfn, object );
 
 	g_assert( NACT_IS_ACTION_PROFILE( object ));
-
 	NactActionProfile *self = ( NactActionProfile * ) object;
 
 	g_free( self->private->name );
@@ -441,13 +437,12 @@ do_dump( const NactStorage *object )
 	static const gchar *thisfn = "nact_action_profile_do_dump";
 
 	g_assert( NACT_IS_ACTION_PROFILE( object ));
+	NactActionProfile *self = NACT_ACTION_PROFILE( object );
 
 	if( st_parent_class->do_dump ){
 		st_parent_class->do_dump( object );
 	}
 
-	NactActionProfile *self = NACT_ACTION_PROFILE( object );
-
 	g_debug( "%s:         profile_name='%s'", thisfn, self->private->name );
 	g_debug( "%s:                label='%s'", thisfn, self->private->label );
 	g_debug( "%s:                 path='%s'", thisfn, self->private->path );
diff --git a/src/common/nact-action.c b/src/common/nact-action.c
index e06d9ad..455fc80 100644
--- a/src/common/nact-action.c
+++ b/src/common/nact-action.c
@@ -307,13 +307,12 @@ do_dump( const NactStorage *action )
 	static const gchar *thisfn = "nact_action_do_dump";
 
 	g_assert( NACT_IS_ACTION( action ));
+	NactAction *self = NACT_ACTION( action );
 
 	if( st_parent_class->do_dump ){
 		st_parent_class->do_dump( action );
 	}
 
-	NactAction *self = NACT_ACTION( action );
-
 	g_debug( "%s:    uuid='%s'", thisfn, self->private->uuid );
 	g_debug( "%s: version='%s'", thisfn, self->private->version );
 	g_debug( "%s:   label='%s'", thisfn, self->private->label );
@@ -459,6 +458,7 @@ GSList *
 nact_action_get_profiles( const NactAction *action )
 {
 	g_assert( NACT_IS_ACTION( action ));
+
 	return( action->private->profiles );
 }
 
@@ -466,6 +466,7 @@ guint
 nact_action_get_profiles_count( const NactAction *action )
 {
 	g_assert( NACT_IS_ACTION( action ));
+
 	return( g_slist_length( action->private->profiles ));
 }
 
diff --git a/src/common/nact-storage.c b/src/common/nact-storage.c
index 84c6730..fdb76b3 100644
--- a/src/common/nact-storage.c
+++ b/src/common/nact-storage.c
@@ -279,6 +279,7 @@ void
 nact_storage_dump( const NactStorage *object )
 {
 	g_assert( NACT_IS_STORAGE( object ));
+
 	NACT_STORAGE_GET_CLASS( object )->do_dump( object );
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]