summaryrefslogtreecommitdiff
path: root/gtk/gtkprintoperation-win32.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2020-07-24 20:40:36 +0200
committerBenjamin Otte <otte@redhat.com>2020-07-25 00:47:36 +0200
commitd375dce9f52fd9830069a6fd9287abde93d3f24b (patch)
treecd759ec130e07189ab7f19ebd03b8e89923aaa7f /gtk/gtkprintoperation-win32.c
parentd7266b25ba5f2f21a5bd19d0fb88aca530e4d265 (diff)
downloadgtk+-d375dce9f52fd9830069a6fd9287abde93d3f24b.tar.gz
Replace "gchar" with "char"
Diffstat (limited to 'gtk/gtkprintoperation-win32.c')
-rw-r--r--gtk/gtkprintoperation-win32.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkprintoperation-win32.c b/gtk/gtkprintoperation-win32.c
index ad430760d4..55c0a554fd 100644
--- a/gtk/gtkprintoperation-win32.c
+++ b/gtk/gtkprintoperation-win32.c
@@ -435,11 +435,11 @@ paper_size_to_win32 (GtkPaperSize *paper_size)
return 0;
}
-static gchar*
+static char *
get_default_printer (void)
{
wchar_t *win32_printer_name = NULL;
- gchar *printer_name = NULL;
+ char *printer_name = NULL;
DWORD needed;
GetDefaultPrinterW (NULL, &needed);
@@ -1585,7 +1585,7 @@ gtk_print_operation_run_without_dialog (GtkPrintOperation *op,
/* No printer selected. Get the system default printer and store
* it in settings.
*/
- gchar *tmp_printer = get_default_printer ();
+ char *tmp_printer = get_default_printer ();
if (!tmp_printer)
{
result = GTK_PRINT_OPERATION_RESULT_ERROR;
@@ -1970,7 +1970,7 @@ void
_gtk_print_operation_platform_backend_launch_preview (GtkPrintOperation *op,
cairo_surface_t *surface,
GtkWindow *parent,
- const gchar *filename)
+ const char *filename)
{
HDC dc;
HENHMETAFILE metafile;
@@ -2012,7 +2012,7 @@ _gtk_print_operation_platform_backend_create_preview_surface (GtkPrintOperation
GtkPageSetup *page_setup,
gdouble *dpi_x,
gdouble *dpi_y,
- gchar **target)
+ char **target)
{
GtkPaperSize *paper_size;
HDC metafile_dc;