gpointing-device-settings r175 - trunk/src
- From: hiikezoe svn gnome org
- To: svn-commits-list gnome org
- Subject: gpointing-device-settings r175 - trunk/src
- Date: Sun, 8 Mar 2009 05:29:36 +0000 (UTC)
Author: hiikezoe
Date: Sun Mar 8 05:29:36 2009
New Revision: 175
URL: http://svn.gnome.org/viewvc/gpointing-device-settings?rev=175&view=rev
Log:
Do not free atom name.
Modified:
trunk/src/gpds-xinput.c
Modified: trunk/src/gpds-xinput.c
==============================================================================
--- trunk/src/gpds-xinput.c (original)
+++ trunk/src/gpds-xinput.c Sun Mar 8 05:29:36 2009
@@ -253,15 +253,13 @@
properties = XListDeviceProperties(GDK_DISPLAY(), device, &n_properties);
for (i = 0; i < n_properties; i++) {
- gchar *name;
+ const gchar *name;
name = gdk_x11_get_xatom_name(properties[i]);
if (!strcmp(name, property_name)) {
found_atom = properties[i];
- XFree(name);
break;
}
- XFree(name);
}
XFree(properties);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]