Re: [Gtk-osx-users] Building for OS X Snow Leopard



On Nov 11, 2009, at 12:44 PM, Shawn Bakhtiar wrote:

>
>
> Got it!!
>
> --- gtkprintbackendcups.c	2009-11-11 12:41:33.000000000 -0800
> +++ gtkprintbackendcups.old	2009-11-11 12:38:45.000000000 -0800
> @@ -889,9 +889,12 @@
>  	  else
>  	    dispatch->data_poll->events = 0;
>
> -        dispatch->data_poll->fd = httpGetFd (dispatch->request- 
> >http);
> -
> -		g_source_add_poll (source, dispatch->data_poll);
> +#ifdef HAVE_CUPS_API_1_2
> +          dispatch->data_poll->fd = httpGetFd (dispatch->request- 
> >http);
> +#else
> +          dispatch->data_poll->fd = dispatch->request->http->fd;
> +#endif
> +          g_source_add_poll (source, dispatch->data_poll);
>          }
>      }
>  }
>
>
> I don't know if this correct but it works. :P
>


I'm really confused about this. What version of gtk+ are you patching?  
The ifdef you seem to be adding is already there and has been for more  
than a year.

Regards,
John Ralls





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]