try again

This commit is contained in:
Matthias Clasen 2010-09-23 07:38:34 -04:00
parent eda91a80ae
commit 582ff9a8e8

View File

@ -100,7 +100,7 @@ diff -up gnome-bluetooth-2.90.0/sendto/main.c.gtk-fixes gnome-bluetooth-2.90.0/s
send_button = gtk_dialog_add_button (GTK_DIALOG (dialog), _("Send _To"), GTK_RESPONSE_ACCEPT);
diff -up gnome-bluetooth-2.90.0/wizard/bluetooth-input.c.gtk-fixes gnome-bluetooth-2.90.0/wizard/bluetooth-input.c
--- gnome-bluetooth-2.90.0/wizard/bluetooth-input.c.gtk-fixes 2010-09-23 07:18:17.987998308 -0400
+++ gnome-bluetooth-2.90.0/wizard/bluetooth-input.c 2010-09-23 07:23:55.277998000 -0400
+++ gnome-bluetooth-2.90.0/wizard/bluetooth-input.c 2010-09-23 07:38:24.391998001 -0400
@@ -104,7 +104,7 @@ supports_xinput_devices (void)
{
gint op_code, event, error;
@ -115,7 +115,7 @@ diff -up gnome-bluetooth-2.90.0/wizard/bluetooth-input.c.gtk-fixes gnome-bluetoo
has_mouse = FALSE;
- device_info = XListInputDevices (GDK_DISPLAY (), &n_devices);
+ device_info = XListInputDevices (GDK_DISPLAY_XDISPLAY (gdk_display_xdisplay ()), &n_devices);
+ device_info = XListInputDevices (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), &n_devices);
for (i = 0; i < n_devices; i++) {
gboolean is_mouse, is_keyboard;
if (device_info[i].use != IsXExtensionKeyboard &&