[gnumeric] fix call to gnm_gtk_print_cell_range
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] fix call to gnm_gtk_print_cell_range
- Date: Sat, 30 Jul 2011 16:23:17 +0000 (UTC)
commit abcbf844fe7742d3a80dfadfa364f939fbfe41b8
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date: Sat Jul 30 10:22:47 2011 -0600
fix call to gnm_gtk_print_cell_range
2011-07-30 Andreas J. Guelzow <aguelzow pyrshep ca>
* component/gnumeric.c (go_gnm_component_render): fix call to
gnm_gtk_print_cell_range
ChangeLog | 5 +++++
component/gnumeric.c | 10 ++++++----
2 files changed, 11 insertions(+), 4 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 246e9ed..4ab91a4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-07-30 Andreas J. Guelzow <aguelzow pyrshep ca>
+
+ * component/gnumeric.c (go_gnm_component_render): fix call to
+ gnm_gtk_print_cell_range
+
2011-07-30 Morten Welinder <terra gnome org>
* src/parser.y (yylex): Fix parsing crash. [Redhat #726860]
diff --git a/component/gnumeric.c b/component/gnumeric.c
index a7bd17b..cb344a7 100644
--- a/component/gnumeric.c
+++ b/component/gnumeric.c
@@ -149,14 +149,15 @@ go_gnm_component_render (GOComponent *component, cairo_t *cr, double width_pixel
cairo_scale (cr, ((double) width_pixels) / gognm->width, ((double) height_pixels) / gognm->height);
cairo_rectangle (cr, 0., 0., gognm->width, gognm->height);
cairo_clip (cr); /* not sure it is necessary */
- gnm_gtk_print_cell_range (cr, gognm->sheet, &range, 0., 0., TRUE);
+ gnm_gtk_print_cell_range (cr, gognm->sheet, &range, 0., 0.,
+ gognm->sheet->print_info);
/* Now render objects */
gnm_print_sheet_objects (cr, gognm->sheet, &range, 0., 0.);
cairo_restore (cr);
}
static void
-cb_gognm_save (GtkAction *a, WBCGtk *wbcg)
+cb_gognm_save (G_GNUC_UNUSED GtkAction *a, WBCGtk *wbcg)
{
gpointer data = g_object_get_data (G_OBJECT (wbcg), "component");
if (GO_IS_COMPONENT (data)) {
@@ -260,7 +261,7 @@ GSF_DYNAMIC_CLASS (GOGnmComponent, go_gnm_component,
/*************************************************************************************/
G_MODULE_EXPORT void
-go_plugin_init (GOPlugin *plugin, GOCmdContext *cc)
+go_plugin_init (GOPlugin *plugin, G_GNUC_UNUSED GOCmdContext *cc)
{
GTypeModule *module;
char const *env_var;
@@ -301,6 +302,7 @@ go_plugin_init (GOPlugin *plugin, GOCmdContext *cc)
}
G_MODULE_EXPORT void
-go_plugin_shutdown (GOPlugin *plugin, GOCmdContext *cc)
+go_plugin_shutdown (G_GNUC_UNUSED GOPlugin *plugin,
+ G_GNUC_UNUSED GOCmdContext *cc)
{
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]