diff -uNr gnome-user-share-3.10.0/src/share-extension.c gnome-user-share-3.10.0-708456/src/share-extension.c
--- gnome-user-share-3.10.0/src/share-extension.c	2013-07-24 14:37:40.000000000 +0700
+++ gnome-user-share-3.10.0-708456/src/share-extension.c	2013-10-27 23:32:27.687472833 +0700
@@ -121,7 +121,7 @@
                                          GtkWidget                      *window)
 {
 	GFile             *file;
-	GtkWidget         *bar;
+	GtkWidget         *bar = NULL;
 	guint              i;
 	gboolean           enable = FALSE;
 	GFile             *home;
@@ -175,13 +175,15 @@
 #endif /* HAVE_BLUETOOTH */
 	}
 
-	g_signal_connect (bar, "response",
-			  G_CALLBACK (bar_response_cb),
-			  window);
+  if (bar != NULL) {
+    g_signal_connect (bar, "response",
+          G_CALLBACK (bar_response_cb),
+          window);
 
-	gtk_widget_show_all (bar);
+    gtk_widget_show_all (bar);
+  }
 
-	g_object_unref (file);
+  g_object_unref (file);
 
         return bar;
 }

