--- gtkprintbackendcups.old	2009-11-11 12:38:45.000000000 -0800
+++ gtkprintbackendcups.c	2009-11-12 07:56:34.000000000 -0800
@@ -880,21 +880,20 @@
     {
       if (dispatch->data_poll == NULL)
         {
-	  dispatch->data_poll = g_new0 (GPollFD, 1);
+	  
+		  dispatch->data_poll = g_new0 (GPollFD, 1);
 
-	  if (poll_state == GTK_CUPS_HTTP_READ)
-	    dispatch->data_poll->events = G_IO_IN | G_IO_HUP | G_IO_ERR | G_IO_PRI;
-	  else if (poll_state == GTK_CUPS_HTTP_WRITE)
-	    dispatch->data_poll->events = G_IO_OUT | G_IO_ERR;
-	  else
-	    dispatch->data_poll->events = 0;
+		  if (poll_state == GTK_CUPS_HTTP_READ)
+			 dispatch->data_poll->events = G_IO_IN | G_IO_HUP | G_IO_ERR | G_IO_PRI;
+		  else if (poll_state == GTK_CUPS_HTTP_WRITE)
+			dispatch->data_poll->events = G_IO_OUT | G_IO_ERR;
+		  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;
-#endif
-          g_source_add_poll (source, dispatch->data_poll);
+		  dispatch->data_poll->fd = httpGetFd (dispatch->request->http);
+
+		  g_source_add_poll (source, dispatch->data_poll);
+			
         }
     }
 }
