Add more auxiliary functions in HBCI log window

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14698 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2006-08-20 09:58:15 +00:00
parent aa7cda2a16
commit 5db9681b3b
2 changed files with 9 additions and 2 deletions

View File

@ -102,12 +102,18 @@ void GNCInteractor_delete(GNCInteractor *data)
*/
GtkWidget *GNCInteractor_parent(GNCInteractor *i)
GtkWidget *GNCInteractor_parent(const GNCInteractor *i)
{
g_assert(i);
return i->parent;
}
GtkWidget *GNCInteractor_dialog(const GNCInteractor *i)
{
g_assert(i);
return i->dialog;
}
static void GNCInteractor_setRunning (GNCInteractor *data)
{
g_assert(data);

View File

@ -44,7 +44,8 @@ void GNCInteractor_erasePIN(GNCInteractor *i);
void GNCInteractor_reparent (GNCInteractor *i, GtkWidget *new_parent);
gboolean GNCInteractor_get_cache_valid(const GNCInteractor *i);
void GNCInteractor_set_cache_valid(GNCInteractor *i, gboolean value);
GtkWidget *GNCInteractor_parent(GNCInteractor *i);
GtkWidget *GNCInteractor_parent(const GNCInteractor *i);
GtkWidget *GNCInteractor_dialog(const GNCInteractor *i);
void GNCInteractor_add_log_text (GNCInteractor *i, const char *msg);
/** Returns true if aqbanking requested to show a msgBox of type
error. (Note: This happens very seldomly.) */