Commit fa3b6cdb authored by Martin Nordholts's avatar Martin Nordholts Committed by Martin Nordholts

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
parent 93e5a3d2
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>
* 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);
/* draw new marker */
gtk_widget_queue_draw (GTK_WIDGET (view));
/* Marker changed, invalidate */
gimp_view_renderer_invalidate (view->renderer);
}
void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment