• 21:10:15  Tim Janik's avatar
    added GdkRectangle *clip_rect to gtk_widget_get_snapshot(). · b3d160ce
    21:10:15 Tim Janik authored
    2008-05-21 21:10:15  Tim Janik  <timj@imendio.com>
    
            * gtk/gtkwidget.h: added GdkRectangle *clip_rect to gtk_widget_get_snapshot().
    
            * gtk/gtkwidget.c: clip the returned snapshot pixmap to clip_rect.
            return snapshot pixmap coordinates widget relative in *clip_rect.
    
            * tests/testgtk.c: fixed bogus NULL pointer unref.
    
    
    svn path=/trunk/; revision=20124
    b3d160ce
gtkwidget.h 33.3 KB