summaryrefslogtreecommitdiff
path: root/tools/perf/config/feature-checks/test-gtk2-infobar.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/config/feature-checks/test-gtk2-infobar.c')
-rw-r--r--tools/perf/config/feature-checks/test-gtk2-infobar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/config/feature-checks/test-gtk2-infobar.c b/tools/perf/config/feature-checks/test-gtk2-infobar.c
index eebcfbc45120..397b4646d066 100644
--- a/tools/perf/config/feature-checks/test-gtk2-infobar.c
+++ b/tools/perf/config/feature-checks/test-gtk2-infobar.c
@@ -2,8 +2,9 @@
#include <gtk/gtk.h>
#pragma GCC diagnostic error "-Wstrict-prototypes"
-int main(void)
+int main(int argc, char *argv[])
{
+ gtk_init(&argc, &argv);
gtk_info_bar_new();
return 0;