Commit 0feb08a4 authored by Martin Nordholts's avatar Martin Nordholts Committed by Tristan Van Berkom
Browse files

Handle NULL intp in test_increment_intp()

Support passing NULL for &int to gtk_test_display_button_window() so
we can use that function also when we are not interested in counting
parent e94a1777
......@@ -544,7 +544,8 @@ try_main_quit (void)
static int
test_increment_intp (int *intp)
*intp += 1;
if (intp != NULL)
*intp += 1;
return 1; /* TRUE in case we're connected to event signals */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment