Commit b2e0ed1
Remove deprecated obs_properties_add_button2() call
obs_properties_add_button() is deprecated in OBS 32.2.1 and triggers a
-Werror build failure (C4996 / warning-as-error) under the CI presets.
Switch to obs_properties_add_button2(), which forwards the source data
pointer to the callback. This also fixes the Test Action button, which
previously received a NULL context from the deprecated single-arg button
callback.
Signed-off-by: Eddy Weiz <eddyweiz@gmail.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>1 parent c2b382e commit b2e0ed1
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
230 | 229 | | |
231 | 230 | | |
232 | 231 | | |
| |||
258 | 257 | | |
259 | 258 | | |
260 | 259 | | |
261 | | - | |
| 260 | + | |
262 | 261 | | |
263 | 262 | | |
264 | 263 | | |
| |||
0 commit comments