gpointing-device-settings r32 - trunk/src



Author: hiikezoe
Date: Fri Feb 27 09:40:46 2009
New Revision: 32
URL: http://svn.gnome.org/viewvc/gpointing-device-settings?rev=32&view=rev

Log:
g_return_val_if_fail.

Modified:
   trunk/src/gpds-xinput.c

Modified: trunk/src/gpds-xinput.c
==============================================================================
--- trunk/src/gpds-xinput.c	(original)
+++ trunk/src/gpds-xinput.c	Fri Feb 27 09:40:46 2009
@@ -301,6 +301,8 @@
     gboolean success;
     va_list var_args;
 
+    g_return_val_if_fail(GPDS_IS_XINPUT(xinput), FALSE);
+
     va_start(var_args, first_value);
     success = set_property_va_list(xinput, property_name, error, first_value, var_args);
     va_end(var_args);



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