mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
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:
parent
5a119668b1
commit
f7d932d499
@ -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:
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user