Index: libseahorse/seahorse-context.c
===================================================================
--- libseahorse/seahorse-context.c	(revision 2840)
+++ libseahorse/seahorse-context.c	(working copy)
@@ -239,7 +239,8 @@
 			g_object_unref (app_context);
         
 		g_object_ref (sctx);
-		gtk_object_sink (GTK_OBJECT (sctx));
+		g_object_ref_sink (GTK_OBJECT (sctx));
+		g_object_unref (GTK_OBJECT (sctx));
 		app_context = sctx;
         
 		refresh_keyservers (NULL, 0, NULL, sctx);
Index: libseahorse/seahorse-object-widget.c
===================================================================
--- libseahorse/seahorse-object-widget.c	(revision 2840)
+++ libseahorse/seahorse-object-widget.c	(working copy)
@@ -265,7 +265,8 @@
     
     /* We don't care about this floating business */
     g_object_ref (GTK_OBJECT (swidget));
-    gtk_object_sink (GTK_OBJECT (swidget));
+    g_object_ref_sink (GTK_OBJECT (swidget));
+    g_object_unref (GTK_OBJECT (swidget));
 
     return swidget;
 }
