Mercurial > geeqie
comparison src/pixbuf-renderer.c @ 1634:53b0a8e471c8
preserve zoom value on fullscreen startup
author | nadvornik |
---|---|
date | Sat, 06 Jun 2009 19:39:46 +0000 |
parents | 96114e721195 |
children | 82de367f2d72 |
comparison
equal
deleted
inserted
replaced
1633:96114e721195 | 1634:53b0a8e471c8 |
---|---|
3959 | 3959 |
3960 /* no pixbuf so just clear the window */ | 3960 /* no pixbuf so just clear the window */ |
3961 pr->image_width = 0; | 3961 pr->image_width = 0; |
3962 pr->image_height = 0; | 3962 pr->image_height = 0; |
3963 pr->scale = 1.0; | 3963 pr->scale = 1.0; |
3964 pr->zoom = zoom; /* don't throw away the zoom value, it is set by pixbuf_renderer_move, among others, | |
3965 and used for pixbuf_renderer_zoom_get */ | |
3964 | 3966 |
3965 box = GTK_WIDGET(pr); | 3967 box = GTK_WIDGET(pr); |
3966 | 3968 |
3967 if (GTK_WIDGET_REALIZED(box)) | 3969 if (GTK_WIDGET_REALIZED(box)) |
3968 { | 3970 { |