Index: gnome-user-share-2.30.0/src/share-extension.c
===================================================================
--- gnome-user-share-2.30.0.orig/src/share-extension.c	2010-04-04 18:02:20.608291778 +0200
+++ gnome-user-share-2.30.0/src/share-extension.c	2010-04-04 18:03:06.900291737 +0200
@@ -208,7 +208,7 @@
         NautilusUserShare *share;
 
         g_return_if_fail (object != NULL);
-        g_return_if_fail (NAUTILUS_IS_SHARE (object));
+        g_return_if_fail (NAUTILUS_IS_USER_SHARE (object));
 
         share = NAUTILUS_USER_SHARE (object);
 
