1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
http://pkgs.fedoraproject.org/gitweb/?p=gnome-user-share.git;a=blob;f=notify.patch;hb=HEAD
--- src/obexpush.c
+++ src/obexpush.c
@@ -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,
|