Don't use httpGetFd() when building against cups 1.1

2007-01-17  Matthias Clasen  <mclasen@redhat.com>

        * modules/printbackends/cups/gtkprintbackendcups.c: Don't use
        httpGetFd() when building against cups 1.1



svn path=/trunk/; revision=17170
This commit is contained in:
Matthias Clasen 2007-01-17 06:10:08 +00:00 committed by Matthias Clasen
parent 5a119668b1
commit f7d932d499
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-01-17 Matthias Clasen <mclasen@redhat.com>
* modules/printbackends/cups/gtkprintbackendcups.c: Don't use
httpGetFd() when building against cups 1.1
2007-01-17 Tor Lillqvist <tml@novell.com>
Proper fix for #396175:

View File

@ -519,7 +519,12 @@ cups_dispatch_watch_check (GSource *source)
else
dispatch->data_poll->events = 0;
}
#ifdef HAVE_CUPS_API_1_2
dispatch->data_poll->fd = httpGetFd (dispatch->request->http);
#else
dispatch->data_poll->fd = dispatch->request->http->fd;
#fi
}
if (poll_state != GTK_CUPS_HTTP_IDLE)