summaryrefslogtreecommitdiff
path: root/demos/gtk-demo/printing.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/gtk-demo/printing.c')
-rw-r--r--demos/gtk-demo/printing.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/demos/gtk-demo/printing.c b/demos/gtk-demo/printing.c
index bca12a0572..96232db40f 100644
--- a/demos/gtk-demo/printing.c
+++ b/demos/gtk-demo/printing.c
@@ -17,10 +17,10 @@ typedef struct
gchar *resourcename;
gdouble font_size;
- gint lines_per_page;
+ int lines_per_page;
gchar **lines;
- gint num_lines;
- gint num_pages;
+ int num_lines;
+ int num_pages;
} PrintData;
static void
@@ -55,15 +55,15 @@ begin_print (GtkPrintOperation *operation,
static void
draw_page (GtkPrintOperation *operation,
GtkPrintContext *context,
- gint page_nr,
+ int page_nr,
gpointer user_data)
{
PrintData *data = (PrintData *)user_data;
cairo_t *cr;
PangoLayout *layout;
- gint text_width, text_height;
+ int text_width, text_height;
gdouble width;
- gint line, i;
+ int line, i;
PangoFontDescription *desc;
gchar *page_str;