gpointing-device-settings r161 - trunk/src



Author: hiikezoe
Date: Sat Mar  7 10:32:00 2009
New Revision: 161
URL: http://svn.gnome.org/viewvc/gpointing-device-settings?rev=161&view=rev

Log:
use appropriate error code.

Modified:
   trunk/src/gpds-xinput-utils.c

Modified: trunk/src/gpds-xinput-utils.c
==============================================================================
--- trunk/src/gpds-xinput-utils.c	(original)
+++ trunk/src/gpds-xinput-utils.c	Sat Mar  7 10:32:00 2009
@@ -76,7 +76,7 @@
     if (!device) {
         g_set_error(error,
                     GPDS_XINPUT_UTILS_ERROR,
-                    GPDS_XINPUT_UTILS_ERROR_NO_DEVICE,
+                    GPDS_XINPUT_UTILS_ERROR_UNABLE_TO_OPEN_DEVICE,
                     _("Could not open %s device."), device_name);
         return NULL;
     }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]