#if GTK_MAJOR_VERSION >= 4
 
 GtkWidget* embedded_image_create(GdkPixbuf *pix) {
-    GdkTexture *texture = gdk_texture_new_for_pixbuf(pixbuf);
+    GdkTexture *texture = gdk_texture_new_for_pixbuf(pix);
     GtkWidget *image = gtk_image_new_from_paintable(GDK_PAINTABLE(texture));
     
     int width = gdk_texture_get_width(texture);
 
 TOOLKIT = gtk
 GTKOBJ = draw_cairo.o
 APP_PLATFORM_SRC = gtk-text.c
+APP_PLATFORM_SRC += gtk-image.c
 __EOF__
     return 0
 }
 
                                <make>TOOLKIT = gtk</make>
                                <make>GTKOBJ = draw_cairo.o</make>
                                <make>APP_PLATFORM_SRC = gtk-text.c</make>
+                               <make>APP_PLATFORM_SRC += gtk-image.c</make>
                        </value>
                        <value str="gtk4">
                                <dependencies>gtk4,webkitgtk6</dependencies>