All pastes #37113 Raw Edit

Unnamed

public c v1 · immutable
#37113 ·published 2006-01-17 20:53 UTC
rendered paste body
    if (rsrc_pic && mw->fullscreen) {      fsw = mw->fullscreen;      width = GTK_WIDGET (fsw->table)->allocation.width;      height = GTK_WIDGET (fsw->table)->allocation.height;      if (width > 0 && height > 0) {        g_message ("Remote image widget size request (X,Y) = (%d,%d)", (int) (width / 5) * 3, (int) (height / 5) * 3);        zrsrc_pic = gdk_pixbuf_scale_simple (rsrc_pic,                                             (int) (width / 5) * 3, (int) (height / 5) * 3,                                             bilinear_filtering?GDK_INTERP_BILINEAR:GDK_INTERP_NEAREST);        if (zrsrc_pic) {          gtk_image_set_from_pixbuf (GTK_IMAGE (fsw->remote_video_image),                                     GDK_PIXBUF (zrsrc_pic));//          g_object_unref (zrsrc_pic);        }        else g_message ("zrsrc_pic is NULL!");      }//        g_object_unref (rsrc_pic);         }