$OpenBSD: patch-panels_sharing_cc-sharing-panel_c,v 1.3 2013/04/28 07:08:42 ajacoutot Exp $

https://bugzilla.gnome.org/show_bug.cgi?id=697413

--- panels/sharing/cc-sharing-panel.c.orig	Wed Feb 20 13:09:52 2013
+++ panels/sharing/cc-sharing-panel.c	Sun Apr 28 08:57:01 2013
@@ -859,10 +859,12 @@ cc_sharing_panel_init (CcSharingPanel *self)
                     G_CALLBACK (cc_sharing_panel_master_switch_notify), self);
 
 
+#ifdef HAVE_BLUETOOTH
   /* bluetooth */
   if (cc_sharing_panel_check_schema_available (self, FILE_SHARING_SCHEMA_ID))
     cc_sharing_panel_setup_bluetooth_sharing_dialog (self);
   else
+#endif
     gtk_widget_hide (WID ("bluetooth-sharing-button"));
 
   /* media sharing */
