aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/print_dlg.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2009-04-21 16:57:52 +0000
committerGuy Harris <guy@alum.mit.edu>2009-04-21 16:57:52 +0000
commit54c159cb41d3d885807ce117b41cfbb444e45e5a (patch)
tree26c23c6b5773084609cd0d8ff02dfbd9cf624e1f /gtk/print_dlg.c
parent85f8b0d87d42dd092ee8baaa0786d9ef8cf49080 (diff)
Turn on -Wshorten-64-to-32 by default, and fix some issues that turned
up (99 44/100% of which were assignments of double-precision floating-point constants to floats). Hopefully this will catch at least some P64 issues on UN*X. svn path=/trunk/; revision=28108
Diffstat (limited to 'gtk/print_dlg.c')
-rw-r--r--gtk/print_dlg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/print_dlg.c b/gtk/print_dlg.c
index e597d298b7..0a6f5b0224 100644
--- a/gtk/print_dlg.c
+++ b/gtk/print_dlg.c
@@ -628,7 +628,7 @@ open_print_dialog(const char *title, output_action_e action, print_args_t *args)
#ifndef _WIN32
cmd_lb = gtk_label_new("Print command:");
g_object_set_data(G_OBJECT(dest_cb), PRINT_CMD_LB_KEY, cmd_lb);
- gtk_misc_set_alignment(GTK_MISC(cmd_lb), 1.0, 0.5);
+ gtk_misc_set_alignment(GTK_MISC(cmd_lb), 1.0f, 0.5f);
gtk_table_attach_defaults(GTK_TABLE(printer_tb), cmd_lb, 0, 1, 1, 2);
gtk_widget_set_sensitive(cmd_lb, !args->to_file);
if(action == output_action_print)