@@ -168,8 +168,8 @@ TEST test_notification_icon_scaling_toosmall(void)
168
168
struct notification * n = notification_load_icon_with_scaling (20 , 100 );
169
169
170
170
ASSERT (n -> icon );
171
- ASSERT_EQ (get_icon_width (n -> icon , 1 ), 20 );
172
- ASSERT_EQ (get_icon_height (n -> icon , 1 ), 20 );
171
+ ASSERT_EQ (get_icon_width (n -> icon ), 20 );
172
+ ASSERT_EQ (get_icon_height (n -> icon ), 20 );
173
173
174
174
notification_unref (n );
175
175
@@ -182,8 +182,8 @@ TEST test_notification_icon_scaling_toolarge(void)
182
182
struct notification * n = notification_load_icon_with_scaling (5 , 10 );
183
183
184
184
ASSERT (n -> icon );
185
- ASSERT_EQ (get_icon_width (n -> icon , 1 ), 10 );
186
- ASSERT_EQ (get_icon_height (n -> icon , 1 ), 10 );
185
+ ASSERT_EQ (get_icon_width (n -> icon ), 10 );
186
+ ASSERT_EQ (get_icon_height (n -> icon ), 10 );
187
187
188
188
notification_unref (n );
189
189
@@ -195,8 +195,8 @@ TEST test_notification_icon_scaling_notconfigured(void)
195
195
struct notification * n = notification_load_icon_with_scaling (0 , 0 );
196
196
197
197
ASSERT (n -> icon );
198
- ASSERT_EQ (get_icon_width (n -> icon , 1 ), 16 );
199
- ASSERT_EQ (get_icon_height (n -> icon , 1 ), 16 );
198
+ ASSERT_EQ (get_icon_width (n -> icon ), 16 );
199
+ ASSERT_EQ (get_icon_height (n -> icon ), 16 );
200
200
201
201
notification_unref (n );
202
202
@@ -208,8 +208,8 @@ TEST test_notification_icon_scaling_notneeded(void)
208
208
struct notification * n = notification_load_icon_with_scaling (10 , 20 );
209
209
210
210
ASSERT (n -> icon );
211
- ASSERT_EQ (get_icon_width (n -> icon , 1 ), 16 );
212
- ASSERT_EQ (get_icon_height (n -> icon , 1 ), 16 );
211
+ ASSERT_EQ (get_icon_width (n -> icon ), 16 );
212
+ ASSERT_EQ (get_icon_height (n -> icon ), 16 );
213
213
214
214
notification_unref (n );
215
215
0 commit comments