[nautilus-actions] Do not implement BaseIPrefs interface
- From: Pierre Wieser <pwieser src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus-actions] Do not implement BaseIPrefs interface
- Date: Fri, 2 Oct 2009 22:41:19 +0000 (UTC)
commit 75d6021a7b175eab09ca452b2d7f442f091f6994
Author: pierre <pierre vfedora10 virtuals pwi>
Date: Mon Sep 28 13:11:47 2009 +0200
Do not implement BaseIPrefs interface
Already implemented in BaseWindow base class.
ChangeLog | 1 +
src/nact/nact-preferences-editor.c | 17 -----------------
2 files changed, 1 insertions(+), 17 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index b8140b6..0516217 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -40,6 +40,7 @@
* src/nact/nact-preferences-editor.c:
Edit the new UI preferences.
+ Do not implement BaseIPrefs interface.
* src/nact/nautilus-actions-config-tool.actions:
Define new View menu.
diff --git a/src/nact/nact-preferences-editor.c b/src/nact/nact-preferences-editor.c
index a30e484..afa77c0 100644
--- a/src/nact/nact-preferences-editor.c
+++ b/src/nact/nact-preferences-editor.c
@@ -58,7 +58,6 @@ static GObjectClass *st_parent_class = NULL;
static GType register_type( void );
static void class_init( NactPreferencesEditorClass *klass );
static void iprefs_na_iface_init( NAIPrefsInterface *iface );
-static void iprefs_base_iface_init( BaseIPrefsInterface *iface );
static void instance_init( GTypeInstance *instance, gpointer klass );
static void instance_dispose( GObject *dialog );
static void instance_finalize( GObject *dialog );
@@ -115,20 +114,12 @@ register_type( void )
NULL
};
- static const GInterfaceInfo iprefs_base_iface_info = {
- ( GInterfaceInitFunc ) iprefs_base_iface_init,
- NULL,
- NULL
- };
-
g_debug( "%s", thisfn );
type = g_type_register_static( BASE_DIALOG_TYPE, "NactPreferencesEditor", &info, 0 );
g_type_add_interface_static( type, NA_IPREFS_TYPE, &iprefs_na_iface_info );
- g_type_add_interface_static( type, NA_IPREFS_TYPE, &iprefs_base_iface_info );
-
return( type );
}
@@ -164,14 +155,6 @@ iprefs_na_iface_init( NAIPrefsInterface *iface )
}
static void
-iprefs_base_iface_init( BaseIPrefsInterface *iface )
-{
- static const gchar *thisfn = "nact_preferences_editor_iprefs_base_iface_init";
-
- g_debug( "%s: iface=%p", thisfn, ( void * ) iface );
-}
-
-static void
instance_init( GTypeInstance *instance, gpointer klass )
{
static const gchar *thisfn = "nact_preferences_editor_instance_init";
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]