[nautilus-actions] NactApplication::appli_init_application(): fix parent class method call



commit 7d88c918d02fa0d94340d0b93ea5a0d1d7f23e24
Author: Pierre Wieser <pwieser trychlos org>
Date:   Mon Jan 16 22:26:54 2012 +0100

    NactApplication::appli_init_application(): fix parent class method call

 ChangeLog                   |    3 +++
 src/nact/nact-application.c |    4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 44898ea..cf9af6c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2012-01-16 Pierre Wieser <pwieser trychlos org>
 
+	* src/nact/nact-application.c
+	(appli_init_application): Fix parent class method call.
+
 	* docs/nact/C/nact-conditions.xml: Embeds literal values between
 	<literal>..</literal> tags.
 
diff --git a/src/nact/nact-application.c b/src/nact/nact-application.c
index 70e9e00..ad4ac0c 100644
--- a/src/nact/nact-application.c
+++ b/src/nact/nact-application.c
@@ -291,8 +291,8 @@ appli_init_application( BaseApplication *application )
 	na_pivot_set_loadable( NA_PIVOT( priv->updater ), PIVOT_LOAD_ALL );
 
 	/* call parent class */
-	if( ret && BASE_APPLICATION_CLASS( st_parent_class )->manage_options ){
-		ret = BASE_APPLICATION_CLASS( st_parent_class )->manage_options( application );
+	if( ret && BASE_APPLICATION_CLASS( st_parent_class )->init_application ){
+		ret = BASE_APPLICATION_CLASS( st_parent_class )->init_application( application );
 	}
 
 	return( ret );



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