Feature #631 ยป 0084-gtk3.22-Make-popup-image-to-use-natural-size.patch
client/gui-gtk-3.22/dialogs.c | ||
---|---|---|
GtkWidget *win = gtk_window_new(GTK_WINDOW_TOPLEVEL);
|
||
GtkWidget *img = gtk_image_new_from_pixbuf(pix);
|
||
gtk_window_set_default_size(GTK_WINDOW(win), width, height);
|
||
gtk_container_add(GTK_CONTAINER(win), img);
|
||
gtk_widget_show(img);
|
||
gtk_widget_show(win);
|
||
unload_popup_sprite(tag);
|