Blob Blame History Raw
diff -up gnome-user-share-2.30.1/src/obexpush.c.notify gnome-user-share-2.30.1/src/obexpush.c
--- gnome-user-share-2.30.1/src/obexpush.c.notify	2010-11-03 10:13:20.985241989 -0400
+++ gnome-user-share-2.30.1/src/obexpush.c	2010-11-03 10:15:02.988242018 -0400
@@ -139,10 +139,9 @@ show_notification (const char *filename)
 	/* Translators: %s is the name of the filename received */
 	notification_text = g_strdup_printf(_("You received \"%s\" via Bluetooth"), display);
 	g_free (display);
-	notification = notify_notification_new_with_status_icon (_("You received a file"),
-								 notification_text,
-								 "dialog-information",
-								 GTK_STATUS_ICON (statusicon));
+	notification = notify_notification_new (_("You received a file"),
+					         notification_text,
+					         "dialog-information");
 
 	notify_notification_set_timeout (notification, NOTIFY_EXPIRES_DEFAULT);
 
@@ -218,10 +217,10 @@ device_is_authorised (const char *bdaddr
 		char *device_path;
 		GHashTable *props;
 
-		g_message ("checking adapter %s", g_ptr_array_index (adapters, i));
+		g_message ("checking adapter %s", (char *)g_ptr_array_index (adapters, i));
 
 		adapter = dbus_g_proxy_new_for_name (connection, "org.bluez",
-						    g_ptr_array_index (adapters, i), "org.bluez.Adapter");
+						    (char *)g_ptr_array_index (adapters, i), "org.bluez.Adapter");
 
 		if (dbus_g_proxy_call (adapter, "FindDevice", NULL,
 				       G_TYPE_STRING, bdaddr, G_TYPE_INVALID,