Files
libratbag/src
Benjamin Tissoires f476f03762 make ratbag_resolution_init() return the struct resolution pointer
It is a common pattern to have:
ratbag_resolution_init(...)
profile->resolution.modes[i].xxx = yyy;
ratbag_resolution_set_cap(&profile->resolution.modes[i], zzz)

So instead of dealing with the internal fields of profile/resolution/modes,
just return the resolution that has been initialized.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
2015-09-01 09:49:18 -04:00
..
2015-08-28 15:08:51 +10:00
2015-09-01 17:30:47 +10:00
2015-09-01 17:30:47 +10:00
2015-09-01 17:30:47 +10:00