Don't redraw the view, only invalidate it. This causes the redraw to occur
2008-08-24 Martin Nordholts <martinn@svn.gnome.org> * app/widgets/gimpnavigationview.c (gimp_navigation_view_set_marker): Don't redraw the view, only invalidate it. This causes the redraw to occur in an idle-handler intead of each time this function is called, which reduces flicker when opening new images. Stil some flicker left though... svn path=/trunk/; revision=26737
This commit is contained in:

committed by
Martin Nordholts

parent
93e5a3d293
commit
fa3b6cdb1a
@ -1,3 +1,11 @@
|
|||||||
|
2008-08-24 Martin Nordholts <martinn@svn.gnome.org>
|
||||||
|
|
||||||
|
* app/widgets/gimpnavigationview.c
|
||||||
|
(gimp_navigation_view_set_marker): Don't redraw the view, only
|
||||||
|
invalidate it. This causes the redraw to occur in an idle-handler
|
||||||
|
intead of each time this function is called, which reduces flicker
|
||||||
|
when opening new images. Stil some flicker left though...
|
||||||
|
|
||||||
2008-08-24 Sven Neumann <sven@gimp.org>
|
2008-08-24 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* app/paint-funcs/scale-region.c (scale) (scale_pr): use a
|
* app/paint-funcs/scale-region.c (scale) (scale_pr): use a
|
||||||
|
@ -537,8 +537,8 @@ gimp_navigation_view_set_marker (GimpNavigationView *nav_view,
|
|||||||
|
|
||||||
gimp_navigation_view_transform (nav_view);
|
gimp_navigation_view_transform (nav_view);
|
||||||
|
|
||||||
/* draw new marker */
|
/* Marker changed, invalidate */
|
||||||
gtk_widget_queue_draw (GTK_WIDGET (view));
|
gimp_view_renderer_invalidate (view->renderer);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Reference in New Issue
Block a user