Index: libeog/image-view.c
===================================================================
--- libeog/image-view.c	(revision 4743)
+++ libeog/image-view.c	(working copy)
@@ -831,14 +831,14 @@
 		d.x0 - xofs, d.y0 - yofs);
 	*/
 
-	gdk_pixbuf_render_to_drawable (tmp,
-				       GTK_WIDGET (view)->window,
-				       GTK_WIDGET (view)->style->black_gc,
-				       0, 0,
-				       d.x0, d.y0,
-				       d.x1 - d.x0, d.y1 - d.y0,
-				       priv->dither,
-				       d.x0 - xofs, d.y0 - yofs);
+	gdk_draw_pixbuf (GTK_WIDGET (view)->window,
+		         GTK_WIDGET (view)->style->black_gc,
+		         tmp,
+			 0, 0,
+		         d.x0, d.y0,
+		         d.x1 - d.x0, d.y1 - d.y0,
+		         priv->dither,
+		         d.x0 - xofs, d.y0 - yofs);
 	
 #endif
 
@@ -1678,7 +1678,7 @@
 	if (priv->hadj != hadj) {
 		priv->hadj = hadj;
 		g_object_ref (priv->hadj);
-		gtk_object_sink (GTK_OBJECT (priv->hadj));
+		g_object_ref_sink (GTK_OBJECT (priv->hadj));
 
 		g_signal_connect (priv->hadj, "value_changed",
 				  G_CALLBACK (adjustment_changed_cb),
@@ -1690,7 +1690,7 @@
 	if (priv->vadj != vadj) {
 		priv->vadj = vadj;
 		g_object_ref (priv->vadj);
-		gtk_object_sink (GTK_OBJECT (priv->vadj));
+		g_object_ref_sink (GTK_OBJECT (priv->vadj));
 
 		g_signal_connect (priv->vadj, "value_changed",
 				  G_CALLBACK (adjustment_changed_cb),
Index: libeog/eog-image.c
===================================================================
--- libeog/eog-image.c	(revision 4743)
+++ libeog/eog-image.c	(working copy)
@@ -853,7 +853,7 @@
 	priv = img->priv;
 
 	if (priv->image != NULL) {
-		gdk_pixbuf_unref (priv->image);
+		g_object_unref (priv->image);
 		priv->image = NULL;
 	}
 }
Index: libeog/ui-image.c
===================================================================
--- libeog/ui-image.c	(revision 4743)
+++ libeog/ui-image.c	(working copy)
@@ -152,9 +152,9 @@
 
 	ui = UI_IMAGE (g_object_new (TYPE_UI_IMAGE,
 				     "hadjustment", 
-				     GTK_ADJUSTMENT (gtk_object_new (GTK_TYPE_ADJUSTMENT, NULL)),
+				     GTK_ADJUSTMENT (g_object_new (GTK_TYPE_ADJUSTMENT, NULL)),
 				     "vadjustment",
-				     GTK_ADJUSTMENT (gtk_object_new (GTK_TYPE_ADJUSTMENT, NULL)),
+				     GTK_ADJUSTMENT (g_object_new (GTK_TYPE_ADJUSTMENT, NULL)),
 				     NULL));
 	return ui_image_construct (ui);
 }
Index: libfspot/f-pixbuf-save.c
===================================================================
--- libfspot/f-pixbuf-save.c	(revision 4743)
+++ libfspot/f-pixbuf-save.c	(working copy)
@@ -155,7 +155,7 @@
 	jpeg_destroy_compress (&cinfo);
 
 	fclose (outfile);
-	gdk_pixbuf_unref (pixbuf);
+	g_object_unref (pixbuf);
 
 	return TRUE;
 }
