fixed a SEGV: The "refresh" callback should call select_pattern(), not

1999-10-16  Michael Natterer  <mitch@gimp.org>

	* app/pattern_select.c: fixed a SEGV: The "refresh" callback
	should call select_pattern(), not pattern_select_select().
This commit is contained in:
Michael Natterer 1999-10-16 11:40:39 +00:00 committed by Michael Natterer
parent fe9db44dda
commit cd39d59e6d
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
1999-10-16 Michael Natterer <mitch@gimp.org>
* app/pattern_select.c: fixed a SEGV: The "refresh" callback
should call select_pattern(), not pattern_select_select().
1999-10-16 Michael Natterer <mitch@gimp.org>
* app/channels_dialog.c: applied gimp-gosgood-991011-0.patch, so

View File

@ -840,7 +840,7 @@ pattern_select_refresh_callback (GtkWidget *widget,
/* update the active selection */
active = get_active_pattern ();
if (active)
pattern_select_select (psp, active->index);
select_pattern (active);
/* update the display */
draw_preview (psp);

View File

@ -840,7 +840,7 @@ pattern_select_refresh_callback (GtkWidget *widget,
/* update the active selection */
active = get_active_pattern ();
if (active)
pattern_select_select (psp, active->index);
select_pattern (active);
/* update the display */
draw_preview (psp);