gtk: set window icon for About dialog
This commit is contained in:
parent
4f1bae8c58
commit
a845b822bc
|
@ -1090,6 +1090,7 @@ void openAbout ()
|
||||||
|
|
||||||
GdkPixbuf* logo = gdk_pixbuf_new_from_xpm_data(icon_xpm);
|
GdkPixbuf* logo = gdk_pixbuf_new_from_xpm_data(icon_xpm);
|
||||||
gtk_about_dialog_set_logo(GTK_ABOUT_DIALOG(aboutDialog), logo);
|
gtk_about_dialog_set_logo(GTK_ABOUT_DIALOG(aboutDialog), logo);
|
||||||
|
gtk_window_set_icon(GTK_WINDOW(aboutDialog), logo);
|
||||||
|
|
||||||
|
|
||||||
gtk_dialog_run(GTK_DIALOG(aboutDialog));
|
gtk_dialog_run(GTK_DIALOG(aboutDialog));
|
||||||
|
|
Loading…
Reference in New Issue