I’m a gtk newbie and was trying to create a file chooser dialog. Please have a look at this program.
$ gcc filechooser.c $(pkg-config --cflags --libs gtk4) -o filechooser $ ./filechooser GTK-Message: GTKDialog mapped without a transient parent. This is discouraged. $
It just shows this above warning message. I expected to see the file chooser dialog too. What am I missing?