[gnumeric] set the document for the canvas
- From: Jean Bréfort <jbrefort src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnumeric] set the document for the canvas
- Date: Sun, 4 Oct 2009 16:43:52 +0000 (UTC)
commit 807123092ddbdec3b2f054e06ef651891dcf91ad
Author: Jean Brefort <jean brefort normalesup org>
Date: Sun Oct 4 18:43:22 2009 +0200
set the document for the canvas
ChangeLog | 4 ++++
src/gnm-pane.c | 1 +
2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d5abbfb..30a0230 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-10-04 Jean Brefort <jean brefort normalesup org>
+
+ * src/gnm-pane.c (gnm_pane_new): set the document for the canvas.
+
2009-10-02 Morten Welinder <terra gnome org>
* src/sheet-object.c (sheet_object_get_property,
diff --git a/src/gnm-pane.c b/src/gnm-pane.c
index 085ba50..195b4c3 100644
--- a/src/gnm-pane.c
+++ b/src/gnm-pane.c
@@ -1153,6 +1153,7 @@ gnm_pane_new (SheetControlGUI *scg,
pane->index = index;
pane->simple.scg = scg;
+ goc_canvas_set_document (GOC_CANVAS (pane), wb_control_get_doc (scg_wbc (scg)));
if (NULL != (sheet = scg_sheet (scg)) &&
fabs (1. - sheet->last_zoom_factor_used) > 1e-6)
goc_canvas_set_pixels_per_unit (GOC_CANVAS (pane),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]