From fe76984e89d49417c24336d2a4e4aad5ae7f665c Mon Sep 17 00:00:00 2001 From: =?utf8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD=20=D0=98=D0=B6=D0=B1?= =?utf8?q?=D1=83=D0=BB=D0=B0=D1=82=D0=BE=D0=B2?= Date: Sat, 16 Jun 2018 18:20:22 +0000 Subject: [PATCH] Add foward declarations to gtk_print_operation_run_without_dialog --- gtk/gtkprintoperation-win32.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gtk/gtkprintoperation-win32.c b/gtk/gtkprintoperation-win32.c index ca7c1be125..ab31cba5c9 100644 --- a/gtk/gtkprintoperation-win32.c +++ b/gtk/gtkprintoperation-win32.c @@ -56,6 +56,24 @@ #define JOB_STATUS_COMPLETE 0x1000 #endif +/* Forward declarations */ +GtkPrintOperationResult +gtk_print_operation_run_without_dialog (GtkPrintOperation *op, + gboolean *do_print); +GtkPrintOperationResult +gtk_print_operation_run_with_dialog (GtkPrintOperation *op, + GtkWindow *parent, + gboolean *do_print); +UINT_PTR CALLBACK +run_mainloop_hook (HWND hdlg, + UINT uiMsg, + WPARAM wParam, + LPARAM lParam); +void +win32_start_page (GtkPrintOperation *op, + GtkPrintContext *print_context, + GtkPageSetup *page_setup); + typedef struct { HDC hdc; HGLOBAL devmode; -- 2.30.2