x11: Don't store last change serial

It's unused anyway
This commit is contained in:
Benjamin Otte 2013-02-08 13:36:16 +01:00
parent 8fa1b2bb9d
commit 1f95eddbda
3 changed files with 1 additions and 5 deletions

View File

@ -243,10 +243,10 @@ parse_settings (unsigned char *data,
setting->name[name_len] = '\0';
buffer.pos += pad_len;
/* last change serial (we ignore it) */
result = fetch_card32 (&buffer, &v_int);
if (result != XSETTINGS_SUCCESS)
goto out;
setting->last_change_serial = v_int;
switch (type)
{

View File

@ -68,8 +68,6 @@ xsettings_setting_copy (XSettingsSetting *setting)
break;
}
result->last_change_serial = setting->last_change_serial;
return result;
err:

View File

@ -89,8 +89,6 @@ struct _XSettingsSetting
char *v_string;
XSettingsColor v_color;
} data;
unsigned long last_change_serial;
};
XSettingsSetting *xsettings_setting_copy (XSettingsSetting *setting);