gtk_dialog_new_with_buttons() requires some buttons, otherwise use gtk_dialog_new() and set title/transient-for/etc properties manually.
gtk_dialog_new_with_buttons() requires some buttons, otherwise use gtk_dialog_new() and set title/transient-for/etc properties manually.