[nautilus-actions] base_builder_get_toplevel_by_name: Add a debug message
- From: Pierre Wieser <pwieser src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-actions] base_builder_get_toplevel_by_name: Add a debug message
- Date: Wed, 26 Jan 2011 22:34:43 +0000 (UTC)
commit d499683237ee82a71cbf12af73ea81ff8b44f210
Author: Pierre Wieser <pwieser trychlos org>
Date: Wed Jan 26 23:23:02 2011 +0100
base_builder_get_toplevel_by_name: Add a debug message
ChangeLog | 5 +++++
src/nact/base-builder.c | 3 +++
2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 3aaf299..c6d1af5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-01-26 Pierre Wieser <pwieser trychlos org>
+
+ * src/nact/base-builder.c (base_builder_get_toplevel_by_name):
+ Add a debug message.
+
2011-01-24 Pierre Wieser <pwieser trychlos org>
* src/plugin-menu/nautilus-actions.c:
diff --git a/src/nact/base-builder.c b/src/nact/base-builder.c
index 5da72f9..ab8e668 100644
--- a/src/nact/base-builder.c
+++ b/src/nact/base-builder.c
@@ -260,6 +260,7 @@ already_loaded( BaseBuilder *builder, const gchar *filename )
GtkWindow *
base_builder_get_toplevel_by_name( const BaseBuilder *builder, const gchar *name )
{
+ static const gchar *thisfn = "base_builder_get_toplevel_by_name";
GtkWindow *toplevel = NULL;
g_return_val_if_fail( BASE_IS_BUILDER( builder ), NULL );
@@ -272,6 +273,8 @@ base_builder_get_toplevel_by_name( const BaseBuilder *builder, const gchar *name
if( toplevel ){
g_return_val_if_fail( GTK_IS_WINDOW( toplevel ), NULL );
+ } else {
+ na_core_utils_slist_dump( thisfn, builder->private->fnames );
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]