[gnumeric] gnm_expr_entry_get_scg: new function.



commit 062ec9892e404456e62325b285e75c3507690452
Author: Morten Welinder <terra gnome org>
Date:   Wed Apr 29 14:28:00 2009 -0400

    gnm_expr_entry_get_scg: new function.
---
 src/widgets/ChangeLog             |    4 ++++
 src/widgets/gnumeric-expr-entry.c |    6 ++++++
 src/widgets/gnumeric-expr-entry.h |    2 ++
 3 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/widgets/ChangeLog b/src/widgets/ChangeLog
index c272769..9c007e6 100644
--- a/src/widgets/ChangeLog
+++ b/src/widgets/ChangeLog
@@ -1,3 +1,7 @@
+2009-04-29  Morten Welinder  <terra gnome org>
+
+	* gnumeric-expr-entry.c (gnm_expr_entry_get_scg): New function.
+
 2009-04-27  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* gnumeric-text-view.[ch]: new
diff --git a/src/widgets/gnumeric-expr-entry.c b/src/widgets/gnumeric-expr-entry.c
index f65ea5e..0215e75 100644
--- a/src/widgets/gnumeric-expr-entry.c
+++ b/src/widgets/gnumeric-expr-entry.c
@@ -1203,6 +1203,12 @@ gnm_expr_entry_set_scg (GnmExprEntry *gee, SheetControlGUI *scg)
 #endif
 }
 
+SheetControlGUI *
+gnm_expr_entry_get_scg (GnmExprEntry *gee)
+{
+	return gee->scg;
+}
+
 /**
  * gnm_expr_entry_load_from_text :
  * @gee :
diff --git a/src/widgets/gnumeric-expr-entry.h b/src/widgets/gnumeric-expr-entry.h
index 8c1a7f0..0b507b3 100644
--- a/src/widgets/gnumeric-expr-entry.h
+++ b/src/widgets/gnumeric-expr-entry.h
@@ -36,6 +36,8 @@ void	  gnm_expr_entry_set_flags	(GnmExprEntry *gee,
 					 GnmExprEntryFlags mask);
 void	  gnm_expr_entry_set_scg	(GnmExprEntry *gee,
 					 SheetControlGUI *scg);
+SheetControlGUI *gnm_expr_entry_get_scg	(GnmExprEntry *gee);
+
 GtkEntry *gnm_expr_entry_get_entry	(GnmExprEntry *gee);
 gboolean  gnm_expr_entry_get_rangesel	(GnmExprEntry const *gee,
 					 GnmRange *r, Sheet **sheet);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]