[gs-commits] mupdf/master - 0_6-190-g88da401 - Silence warnings.
Tor Andersson
tor at ghostscript.com
Sun Jul 18 15:26:15 UTC 2010
commit 88da40185b1f1dfc0a6c350de86b0e5b1a07df0c
Author: Tor Andersson <tor at ghostscript.com>
Date: Sat Jul 17 02:15:14 2010 +0000
Silence warnings.
Ignore-this: e4c5cc2d8fe22f162eed80799c8a2b57
darcs-hash:20100717021514-f546f-1f9db07bae1688cbf5f3b5bc5db7ff0aae05b5e1.gz
1 files changed, 0 insertions(+), 19 deletions(-)
diff --git a/apps/x11_main.c b/apps/x11_main.c
index 2582580..395f9fd 100644
--- a/apps/x11_main.c
+++ b/apps/x11_main.c
@@ -361,18 +361,6 @@ void windrawstring(pdfapp_t *app, int x, int y, char *s)
XDrawString(xdpy, xwin, xgc, x, y, s, strlen(s));
}
-static void windrawpageno(pdfapp_t *app)
-{
- char s[100];
-
- int ret = snprintf(s, 100, "Page %d/%d", gapp.pageno, gapp.pagecount);
- if (ret >= 0)
- {
- isshowingpage = 1;
- windrawstringxor(&gapp, 10, 20, s);
- }
-}
-
void windocopy(pdfapp_t *app)
{
unsigned short copyucs2[16 * 1024];
@@ -398,8 +386,6 @@ void windocopy(pdfapp_t *app)
*utf8 = 0;
*latin1 = 0;
- printf("oncopy utf8=%d latin1=%d\n", strlen(copyutf8), strlen(copylatin1));
-
XSetSelectionOwner(xdpy, XA_PRIMARY, xwin, copytime);
justcopied = 1;
@@ -409,8 +395,6 @@ void onselreq(Window requestor, Atom selection, Atom target, Atom property, Time
{
XEvent nevt;
- printf("onselreq\n");
-
if (property == None)
property = target;
@@ -438,7 +422,6 @@ void onselreq(Window requestor, Atom selection, Atom target, Atom property, Time
else if (target == XA_STRING)
{
- printf(" -> string %d\n", strlen(copylatin1));
XChangeProperty(xdpy, requestor, property, target,
8, PropModeReplace,
(unsigned char *)copylatin1, strlen(copylatin1));
@@ -446,7 +429,6 @@ void onselreq(Window requestor, Atom selection, Atom target, Atom property, Time
else if (target == XA_UTF8_STRING)
{
- printf(" -> utf8string\n");
XChangeProperty(xdpy, requestor, property, target,
8, PropModeReplace,
(unsigned char *)copyutf8, strlen(copyutf8));
@@ -454,7 +436,6 @@ void onselreq(Window requestor, Atom selection, Atom target, Atom property, Time
else
{
- printf(" -> unknown\n");
nevt.xselection.property = None;
}
--
git/hooks/post-receive
More information about the gs-commits
mailing list