[nautilus-actions] Make use of actual marshaller with two arguments
- From: Pierre Wieser <pwieser src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus-actions] Make use of actual marshaller with two arguments
- Date: Tue, 27 Oct 2009 23:12:09 +0000 (UTC)
commit 3622c538b39d9d28ef01a49c5f7167a1093891c2
Author: Pierre Wieser <pwieser trychlos org>
Date: Tue Oct 27 23:51:52 2009 +0100
Make use of actual marshaller with two arguments
ChangeLog | 3 +++
TODO | 3 ---
src/nact/nact-iactions-list.c | 5 +++--
src/nact/nact-main-window.c | 8 +++++---
4 files changed, 11 insertions(+), 8 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 41ba4bc..18d3546 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2009-10-27 Pierre Wieser <pwieser trychlos org>
+ * src/nact/nact-main-window.c (class_init):
+ Make use of actual marshaller with two arguments.
+
* src/nact/nact-iaction-tab.c
(nact_iaction_tab_runtime_init_toplevel):
* src/nact/nact-icommand-tab.c
diff --git a/TODO b/TODO
index ecee996..bc70d9d 100644
--- a/TODO
+++ b/TODO
@@ -58,9 +58,6 @@
- ui preferences: create root menu for background items
- ui preferences: add about item for background items
-- check g_signal_emit_by_name TAB_UPDATABLE_SIGNAL_ITEM_UPDATED against
- its marshalling and against the signal definition
-
- have a single place where a schema is written
(see src/utils/nautilus-actions-schemas.c)
more: have a single place where the schema is _described_
diff --git a/src/nact/nact-iactions-list.c b/src/nact/nact-iactions-list.c
index b7fdbfc..37abca8 100644
--- a/src/nact/nact-iactions-list.c
+++ b/src/nact/nact-iactions-list.c
@@ -2172,8 +2172,9 @@ on_tab_updatable_item_updated( NactIActionsList *instance, NAObject *object, gbo
GtkTreeView *treeview;
GtkTreeModel *model;
- g_debug( "%s: instance=%p, object=%p (%s)", thisfn,
- ( void * ) instance, ( void * ) object, G_OBJECT_TYPE_NAME( object ));
+ g_debug( "%s: instance=%p, object=%p (%s), force_display=%s", thisfn,
+ ( void * ) instance, ( void * ) object, G_OBJECT_TYPE_NAME( object ),
+ force_display ? "True":"False" );
g_return_if_fail( NACT_IS_IACTIONS_LIST( instance ));
g_return_if_fail( NA_IS_OBJECT( object ));
g_return_if_fail( NA_IS_IDUPLICABLE( object ));
diff --git a/src/nact/nact-main-window.c b/src/nact/nact-main-window.c
index c9fd52b..c67ca6f 100644
--- a/src/nact/nact-main-window.c
+++ b/src/nact/nact-main-window.c
@@ -55,6 +55,7 @@
#include "nact-iadvanced-tab.h"
#include "nact-main-tab.h"
#include "nact-main-menubar.h"
+#include "nact-marshal.h"
#include "nact-main-window.h"
/* private class data
@@ -367,10 +368,11 @@ class_init( NactMainWindowClass *klass )
0, /* no default handler */
NULL,
NULL,
- g_cclosure_marshal_VOID__POINTER,
+ nact_marshal_VOID__POINTER_BOOLEAN,
G_TYPE_NONE,
- 1,
- G_TYPE_POINTER );
+ 2,
+ G_TYPE_POINTER,
+ G_TYPE_BOOLEAN );
/**
* nact-tab-updatable-enable-tab:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]