mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 03:10:09 +00:00
x11: Don't store last change serial
It's unused anyway
This commit is contained in:
parent
8fa1b2bb9d
commit
1f95eddbda
@ -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)
|
||||
{
|
||||
|
@ -68,8 +68,6 @@ xsettings_setting_copy (XSettingsSetting *setting)
|
||||
break;
|
||||
}
|
||||
|
||||
result->last_change_serial = setting->last_change_serial;
|
||||
|
||||
return result;
|
||||
|
||||
err:
|
||||
|
@ -89,8 +89,6 @@ struct _XSettingsSetting
|
||||
char *v_string;
|
||||
XSettingsColor v_color;
|
||||
} data;
|
||||
|
||||
unsigned long last_change_serial;
|
||||
};
|
||||
|
||||
XSettingsSetting *xsettings_setting_copy (XSettingsSetting *setting);
|
||||
|
Loading…
Reference in New Issue
Block a user