我正在尝试在我的GTK应用程序中创建一个关于对话框。当我点击指向网站的链接时,会出现以下错误:
Could not show link
No application is registered as handling this file
以下是代码:
GtkWidget *dialog = gtk_about_dialog_new();
// some come here
gtk_about_dialog_set_website(GTK_ABOUT_DIALOG(dialog), "http://stackoverflow.com");
// some code here
gtk_dialog_run(GTK_DIALOG(dialog));
gtk_widget_destroy(dialog);
问题是没有设置默认浏览器,但是我该如何在Windows上设置它?