r14698 - gnucash/trunk/src/import-export/hbci - Add more auxiliary functions in HBCI log window

Christian Stimming cstim at cvs.gnucash.org
Sun Aug 20 05:58:16 EDT 2006


Author: cstim
Date: 2006-08-20 05:58:15 -0400 (Sun, 20 Aug 2006)
New Revision: 14698
Trac: http://svn.gnucash.org/trac/changeset/14698

Modified:
   gnucash/trunk/src/import-export/hbci/hbci-interaction.c
   gnucash/trunk/src/import-export/hbci/hbci-interaction.h
Log:
Add more auxiliary functions in HBCI log window

Modified: gnucash/trunk/src/import-export/hbci/hbci-interaction.c
===================================================================
--- gnucash/trunk/src/import-export/hbci/hbci-interaction.c	2006-08-20 08:25:28 UTC (rev 14697)
+++ gnucash/trunk/src/import-export/hbci/hbci-interaction.c	2006-08-20 09:58:15 UTC (rev 14698)
@@ -102,12 +102,18 @@
  */
 
 
-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);

Modified: gnucash/trunk/src/import-export/hbci/hbci-interaction.h
===================================================================
--- gnucash/trunk/src/import-export/hbci/hbci-interaction.h	2006-08-20 08:25:28 UTC (rev 14697)
+++ gnucash/trunk/src/import-export/hbci/hbci-interaction.h	2006-08-20 09:58:15 UTC (rev 14698)
@@ -44,7 +44,8 @@
 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.) */



More information about the gnucash-changes mailing list