gok r2517 - in trunk: . gok
- From: gerdk svn gnome org
- To: svn-commits-list gnome org
- Subject: gok r2517 - in trunk: . gok
- Date: Mon, 28 Jul 2008 07:12:50 +0000 (UTC)
Author: gerdk
Date: Mon Jul 28 07:12:50 2008
New Revision: 2517
URL: http://svn.gnome.org/viewvc/gok?rev=2517&view=rev
Log:
2008-07-28 Gerd Kohlberger <gerdk svn gnome org>
Patch by Jasper Lievisse Adriaanse. Fixes bug #513955.
* gok/gok-input.c: (gok_input_get_device_list):
Move XDeviceInfo inside HAVE_XINPUT block.
Modified:
trunk/ChangeLog
trunk/gok/gok-input.c
Modified: trunk/gok/gok-input.c
==============================================================================
--- trunk/gok/gok-input.c (original)
+++ trunk/gok/gok-input.c Mon Jul 28 07:12:50 2008
@@ -286,9 +286,10 @@
int num_devices;
Display *display;
GtkWidget *pMainWindow = gok_main_get_main_window ();
- XDeviceInfo *devices;
#ifdef HAVE_XINPUT
+ XDeviceInfo *devices;
+
if (!input_device_list && pMainWindow && pMainWindow->window) {
display = GDK_WINDOW_XDISPLAY (pMainWindow->window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]