preset: fix incorrect preset version comparison

Use app_version if there are no system presets, so that if the
application presets are newer than the user presets they are merged.

https://bugzilla.gnome.org/show_bug.cgi?id=742877
This commit is contained in:
Phillip Wood 2015-01-13 18:11:39 +00:00 committed by Stefan Sauer
parent 29d8b9df8b
commit aefb6fda5e

View file

@ -395,7 +395,7 @@ preset_get_keyfile (GstPreset * preset)
if (presets) if (presets)
g_key_file_free (presets); g_key_file_free (presets);
presets = in_app; presets = in_app;
version = version_system; version = version_app;
} }
} }
if (in_user) { if (in_user) {