mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Add some debugging.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8301 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -902,6 +902,10 @@ gnc_find_first_gui_component (const char *component_class,
|
||||
GList *list;
|
||||
gpointer user_data;
|
||||
|
||||
#if CM_DEBUG
|
||||
fprintf (stderr, "find: class %s, fn %p, data %p\n", component_class,
|
||||
find_handler, find_data);
|
||||
#endif
|
||||
if (!component_class)
|
||||
return NULL;
|
||||
|
||||
@@ -913,6 +917,9 @@ gnc_find_first_gui_component (const char *component_class,
|
||||
|
||||
g_list_free (list);
|
||||
|
||||
#if CM_DEBUG
|
||||
fprintf (stderr, "found: data %p\n", user_data);
|
||||
#endif
|
||||
return user_data;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user