[gnumeric] sheet objects: add accessor for adjustments,
- From: Morten Welinder <mortenw src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnumeric] sheet objects: add accessor for adjustments,
- Date: Tue, 13 Oct 2009 14:16:36 +0000 (UTC)
commit 0dac22dd7c179a4a4bbba127c174e1e2d0fc63ff
Author: Morten Welinder <terra gnome org>
Date: Tue Oct 13 10:11:44 2009 -0400
sheet objects: add accessor for adjustments,
ChangeLog | 5 +++++
src/sheet-object-widget.c | 6 ++++++
src/sheet-object-widget.h | 2 ++
3 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 7771fc9..1400fe6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-10-13 Morten Welinder <terra gnome org>
+
+ * src/sheet-object-widget.c (sheet_widget_adjustment_get_horizontal):
+ New function.
+
2009-10-11 Andreas J. Guelzow <aguelzow pyrshep ca>
* src/mathfunc.c (random_skew_normal): simplify
diff --git a/src/sheet-object-widget.c b/src/sheet-object-widget.c
index 7311142..59e2e5a 100644
--- a/src/sheet-object-widget.c
+++ b/src/sheet-object-widget.c
@@ -1051,6 +1051,12 @@ sheet_widget_adjustment_get_adjustment (SheetObject *so)
return (SHEET_WIDGET_ADJUSTMENT (so)->adjustment);
}
+gboolean
+sheet_widget_adjustment_get_horizontal (SheetObject *so)
+{
+ return (SHEET_WIDGET_ADJUSTMENT (so)->horizontal);
+}
+
void
sheet_widget_adjustment_set_link (SheetObject *so, GnmExprTop const *texpr)
{
diff --git a/src/sheet-object-widget.h b/src/sheet-object-widget.h
index 632da7a..75b2327 100644
--- a/src/sheet-object-widget.h
+++ b/src/sheet-object-widget.h
@@ -65,6 +65,8 @@ GnmExprTop const *sheet_widget_adjustment_get_link (SheetObject *so);
void sheet_widget_adjustment_set_link (SheetObject *so,
GnmExprTop const *result_link);
GtkAdjustment *sheet_widget_adjustment_get_adjustment (SheetObject *so);
+gboolean sheet_widget_adjustment_get_horizontal (SheetObject *so);
+
void sheet_widget_checkbox_set_link (SheetObject *so,
GnmExprTop const *result_link);
GnmExprTop const *sheet_widget_checkbox_get_link (SheetObject *so);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]