[gnumeric] fix #595648.
- From: Jean Bréfort <jbrefort src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnumeric] fix #595648.
- Date: Sat, 19 Sep 2009 08:58:22 +0000 (UTC)
commit 645b319ecbb0a8f2b5ed3361e282425c69b008f0
Author: Jean Brefort <jean brefort normalesup org>
Date: Sat Sep 19 10:58:02 2009 +0200
fix #595648.
ChangeLog | 6 ++++++
NEWS | 2 +-
src/sheet-object-widget.c | 4 ++--
3 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 4ccff16..20b54bd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2009-09-19 Jean Brefort <jean brefort normalesup org>
+ * src/sheet-object-widget.c
+ (sheet_widget_adjustment_set_horizontal): same as previous. This time,
+ fixes #595648.
+
+2009-09-19 Jean Brefort <jean brefort normalesup org>
+
* src/sheet-object-widget.c (sheet_widget_frame_set_label),
(sheet_widget_button_set_label), (sheet_widget_button_set_markup),
(sheet_widget_checkbox_set_label),
diff --git a/NEWS b/NEWS
index 1bedee3..1ecd8c2 100644
--- a/NEWS
+++ b/NEWS
@@ -3,7 +3,7 @@ Gnumeric 1.9.13
Jean:
* Fix grab issue after dragging an object. [Debian bug #546559]
* Reimplement double-click in item-cursor. [Debian bug #546690]
- * Fix access to GocWidget in sheet widgets. [#595627]
+ * Fix access to GocWidget in sheet widgets. [#595627 and #595648]
Morten:
* Fixes text export GUI issue. [#594155]
diff --git a/src/sheet-object-widget.c b/src/sheet-object-widget.c
index b40b490..3cf10dd 100644
--- a/src/sheet-object-widget.c
+++ b/src/sheet-object-widget.c
@@ -890,11 +890,11 @@ sheet_widget_adjustment_set_horizontal (SheetWidgetAdjustment *swa,
/* Change direction for all realized widgets. */
for (ptr = swa->sow.realized_list; ptr != NULL; ptr = ptr->next) {
- GocItem *item = GOC_ITEM (ptr->data);
+ GocGroup *group = GOC_GROUP (ptr->data);
GtkWidget *neww =
SOW_CLASS (swa)->create_widget (SHEET_OBJECT (swa));
gtk_widget_show (neww);
- goc_item_set (item, "widget", neww, NULL);
+ goc_item_set (GOC_ITEM (group->children->data), "widget", neww, NULL);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]