@@ -168,8 +168,8 @@ TEST test_notification_icon_scaling_toosmall(void)
168168 struct notification * n = notification_load_icon_with_scaling (20 , 100 );
169169
170170 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 );
173173
174174 notification_unref (n );
175175
@@ -182,8 +182,8 @@ TEST test_notification_icon_scaling_toolarge(void)
182182 struct notification * n = notification_load_icon_with_scaling (5 , 10 );
183183
184184 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 );
187187
188188 notification_unref (n );
189189
@@ -195,8 +195,8 @@ TEST test_notification_icon_scaling_notconfigured(void)
195195 struct notification * n = notification_load_icon_with_scaling (0 , 0 );
196196
197197 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 );
200200
201201 notification_unref (n );
202202
@@ -208,8 +208,8 @@ TEST test_notification_icon_scaling_notneeded(void)
208208 struct notification * n = notification_load_icon_with_scaling (10 , 20 );
209209
210210 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 );
213213
214214 notification_unref (n );
215215
0 commit comments