mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-08 07:33:53 +01:00
Remove the default profile capability
We do not have any driver using it, and we are not sure this will even be required. Before releasing a version with this, remove it. We can always re-add this later if the need appears. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
This commit is contained in:
@@ -197,7 +197,7 @@ START_TEST(device_profiles)
|
||||
struct ratbag_profile *p;
|
||||
int nprofiles;
|
||||
int i;
|
||||
bool is_active, is_default;
|
||||
bool is_active;
|
||||
int device_freed_count = 0;
|
||||
|
||||
struct ratbag_test_device td = sane_device;
|
||||
@@ -216,8 +216,6 @@ START_TEST(device_profiles)
|
||||
|
||||
is_active = ratbag_profile_is_active(p);
|
||||
ck_assert_int_eq(is_active, (i == 0));
|
||||
is_default = ratbag_profile_is_default(p);
|
||||
ck_assert_int_eq(is_default, (i == 1));
|
||||
ratbag_profile_unref(p);
|
||||
}
|
||||
ratbag_device_unref(d);
|
||||
|
||||
Reference in New Issue
Block a user