[nautilus-actions] Remove useless ipivot_consumer_on_about_changed
- From: Pierre Wieser <pwieser src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus-actions] Remove useless ipivot_consumer_on_about_changed
- Date: Sat, 17 Oct 2009 23:49:34 +0000 (UTC)
commit de3d3a038724bdacd94a431cf9caff026a4c5e40
Author: Pierre Wieser <pwieser trychlos org>
Date: Sun Oct 18 00:22:31 2009 +0200
Remove useless ipivot_consumer_on_about_changed
src/nact/nact-main-window.c | 18 +-----------------
1 files changed, 1 insertions(+), 17 deletions(-)
---
diff --git a/src/nact/nact-main-window.c b/src/nact/nact-main-window.c
index d4cdfde..2febce3 100644
--- a/src/nact/nact-main-window.c
+++ b/src/nact/nact-main-window.c
@@ -162,7 +162,6 @@ static void on_tab_updatable_item_updated( NactMainWindow *window, gpointer
static gboolean confirm_for_giveup_from_menu( NactMainWindow *window );
static gboolean confirm_for_giveup_from_pivot( NactMainWindow *window );
static void ipivot_consumer_on_actions_changed( NAIPivotConsumer *instance, gpointer user_data );
-static void ipivot_consumer_on_display_about_changed( NAIPivotConsumer *instance, gboolean enabled );
static void ipivot_consumer_on_display_order_changed( NAIPivotConsumer *instance, gint order_mode );
static void reload( NactMainWindow *window );
@@ -460,7 +459,7 @@ ipivot_consumer_iface_init( NAIPivotConsumerInterface *iface )
g_debug( "%s: iface=%p", thisfn, ( void * ) iface );
iface->on_actions_changed = ipivot_consumer_on_actions_changed;
- iface->on_display_about_changed = ipivot_consumer_on_display_about_changed;
+ iface->on_display_about_changed = NULL;
iface->on_display_order_changed = ipivot_consumer_on_display_order_changed;
}
@@ -1265,21 +1264,6 @@ reload( NactMainWindow *window )
/*
* called by NAPivot via NAIPivotConsumer whenever the
- * "display 'about' item" preference is modified.
- */
-static void
-ipivot_consumer_on_display_about_changed( NAIPivotConsumer *instance, gboolean enabled )
-{
- static const gchar *thisfn = "nact_main_window_ipivot_consumer_on_display_about_changed";
- /*NactMainWindow *self;*/
-
- g_debug( "%s: instance=%p, enabled=%s", thisfn, ( void * ) instance, enabled ? "True":"False" );
- g_assert( NACT_IS_MAIN_WINDOW( instance ));
- /*self = NACT_MAIN_WINDOW( instance );*/
-}
-
-/*
- * called by NAPivot via NAIPivotConsumer whenever the
* "sort in alphabetical order" preference is modified.
*/
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]