fixed ruler type.

2008-05-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_preview.c (scroll_adj_changed): fixed
	ruler type.


svn path=/trunk/; revision=25849
This commit is contained in:
Sven Neumann
2008-05-29 06:34:21 +00:00
committed by Sven Neumann
parent ecfdde43e5
commit 59c42b412c
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2008-05-29 Sven Neumann <sven@gimp.org>
* plug-ins/imagemap/imap_preview.c (scroll_adj_changed): fixed
ruler type.
2008-05-29 Martin Nordholts <martinn@svn.gnome.org>
* app/tools/gimprectangletool.c (gimp_rectangle_tool_motion): Also

View File

@ -402,21 +402,21 @@ preview_size_allocate (GtkWidget *widget,
GtkAllocation *allocation,
gpointer preview_void)
{
Preview_t * preview = preview_void;
Preview_t *preview = preview_void;
render_preview (preview, &preview->src_rgn);
}
static void
scroll_adj_changed (GtkAdjustment *adj,
GtkRuler *ruler)
GimpRuler *ruler)
{
gimp_ruler_set_range (ruler,
adj->value, adj->value + adj->page_size, adj->upper);
}
Preview_t*
make_preview(GimpDrawable *drawable)
Preview_t *
make_preview (GimpDrawable *drawable)
{
Preview_t *data = g_new(Preview_t, 1);
GtkAdjustment *hadj;