summaryrefslogtreecommitdiff
path: root/x11/xmore/patches/patch-aa
blob: 0c87a8f235063e3695dfb3fa297543e7c9de8850 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-aa,v 1.1 2009/04/17 01:07:30 dsainty Exp $

XawPrintDialogClosePrinterConnection isn't available if USE_XPRINT isn't
defined.

--- xmore.c.orig	2009-04-16 15:00:34.037637683 +1200
+++ xmore.c	2009-04-16 15:01:03.532901704 +1200
@@ -147,14 +147,14 @@
     XtCallActionProc(w, "quit", NULL, NULL, 0);
 }
 
+#ifdef USE_XPRINT
+
 static void
 printshellDestroyXtProc(Widget w, XtPointer client_data, XtPointer callData)
 {
     XawPrintDialogClosePrinterConnection(printdialog, False);
 }
 
-#ifdef USE_XPRINT
-
 static void
 printOKXtProc(Widget w, XtPointer client_data, XtPointer callData)
 {