summaryrefslogtreecommitdiff
path: root/gtk/gtkprintoperation-unix.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2020-07-24 22:32:16 +0200
committerBenjamin Otte <otte@redhat.com>2020-07-25 00:47:36 +0200
commit3078b180fe79efd0e58239dabb7098c40aced1a8 (patch)
treea4ce228bafd8df1eff46d2410554a2b2a3c0f12e /gtk/gtkprintoperation-unix.c
parent556997f9df3b771733fc49a02d5424aee276e29f (diff)
downloadgtk+-3078b180fe79efd0e58239dabb7098c40aced1a8.tar.gz
Replace "gdouble" with "double"
Diffstat (limited to 'gtk/gtkprintoperation-unix.c')
-rw-r--r--gtk/gtkprintoperation-unix.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk/gtkprintoperation-unix.c b/gtk/gtkprintoperation-unix.c
index 61391de98a..6760aafcf9 100644
--- a/gtk/gtkprintoperation-unix.c
+++ b/gtk/gtkprintoperation-unix.c
@@ -74,7 +74,7 @@ unix_start_page (GtkPrintOperation *op,
GtkPrintOperationUnix *op_unix;
GtkPaperSize *paper_size;
cairo_surface_type_t type;
- gdouble w, h;
+ double w, h;
op_unix = op->priv->platform_data;
@@ -522,7 +522,7 @@ finish_print (PrintResponseData *rdata,
GtkPrintOperation *op = rdata->op;
GtkPrintOperationPrivate *priv = op->priv;
GtkPrintJob *job;
- gdouble top, bottom, left, right;
+ double top, bottom, left, right;
if (rdata->do_print)
{
@@ -782,14 +782,14 @@ close_preview (void *data)
static cairo_surface_t *
gtk_print_operation_unix_create_preview_surface (GtkPrintOperation *op,
GtkPageSetup *page_setup,
- gdouble *dpi_x,
- gdouble *dpi_y,
+ double *dpi_x,
+ double *dpi_y,
char **target)
{
char *filename;
int fd;
GtkPaperSize *paper_size;
- gdouble w, h;
+ double w, h;
cairo_surface_t *surface;
static cairo_user_data_key_t key;
@@ -836,7 +836,7 @@ gtk_print_operation_unix_resize_preview_surface (GtkPrintOperation *op,
GtkPageSetup *page_setup,
cairo_surface_t *surface)
{
- gdouble w, h;
+ double w, h;
w = gtk_page_setup_get_paper_width (page_setup, GTK_UNIT_POINTS);
h = gtk_page_setup_get_paper_height (page_setup, GTK_UNIT_POINTS);
@@ -1271,8 +1271,8 @@ _gtk_print_operation_platform_backend_launch_preview (GtkPrintOperation *op,
cairo_surface_t *
_gtk_print_operation_platform_backend_create_preview_surface (GtkPrintOperation *op,
GtkPageSetup *page_setup,
- gdouble *dpi_x,
- gdouble *dpi_y,
+ double *dpi_x,
+ double *dpi_y,
char **target)
{
return gtk_print_operation_unix_create_preview_surface (op, page_setup, dpi_x, dpi_y, target);