fix Gtk-CRITICAL **: gtk_window_realize_icon: assertion 'info->icon_pixmap == NULL' failed
This commit is contained in:
parent
613cf37150
commit
e11341f8f6
|
|
@ -2995,7 +2995,7 @@ void MainFrame::Create(){
|
|||
{
|
||||
GdkPixbuf* pixbuf = pixbuf_new_from_file_with_mask( "bitmaps/icon.png" );
|
||||
if ( pixbuf != 0 ) {
|
||||
gtk_window_set_icon( window, pixbuf );
|
||||
gtk_window_set_default_icon( pixbuf );
|
||||
g_object_unref( pixbuf );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user