[gnumeric] compilation: suppress warning
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] compilation: suppress warning
- Date: Wed, 4 May 2011 00:05:38 +0000 (UTC)
commit 773940e58a6b65dd73dfc63328a1a91535f6620c
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date: Tue May 3 18:04:43 2011 -0600
compilation: suppress warning
2011-05-03 Andreas J. Guelzow <aguelzow pyrshep ca>
* src/wbc-gtk-edit.c (wbcg_edit_start): suppress enum warning
ChangeLog | 6 +++++-
src/wbc-gtk-edit.c | 2 +-
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index bd5940a..52156d8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,10 @@
2011-05-03 Andreas J. Guelzow <aguelzow pyrshep ca>
- * src/workbook.c (workbook_sheet_state_diff): disable
+ * src/wbc-gtk-edit.c (wbcg_edit_start): suppress enum warning
+
+2011-05-03 Andreas J. Guelzow <aguelzow pyrshep ca>
+
+ * src/workbook.c (workbook_sheet_state_diff): disable
-Wswitch for this function
2011-05-01 Andreas J. Guelzow <aguelzow pyrshep ca>
diff --git a/src/wbc-gtk-edit.c b/src/wbc-gtk-edit.c
index c58fe44..370f5da 100644
--- a/src/wbc-gtk-edit.c
+++ b/src/wbc-gtk-edit.c
@@ -918,7 +918,7 @@ wbcg_edit_start (WBCGtk *wbcg,
warn_on_text_format &&
go_format_is_text (gnm_cell_get_format (cell)) &&
(gnm_cell_has_expr (cell) || !VALUE_IS_STRING (cell->value))) {
- GtkResponseType res;
+ gint res; /* Using GtkResponseType would yield a warning on the switch */
GtkWidget *check;
GtkWidget *align;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]