applied Michael Natterer's fix for the layer movement bug.

* app/layers_dialog.c: applied Michael Natterer's fix for the
 	layer movement bug.
This commit is contained in:
jaycox 1999-02-14 16:17:00 +00:00
parent 54fe3402e7
commit 04245dbce4
3 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,8 @@
1999-02-14 Jay Cox <jaycox@earthlink.net>
* app/layers_dialog.c: applied Michael Natterer's fix for the
layer movement bug.
Sun Feb 14 01:27:29 GMT 1999 Austin Donnelly <austin@gimp.org>
New manpage plus bumper fun pack of bugfixes.

View file

@ -1331,11 +1331,11 @@ layers_dialog_position_layer (Layer * layer,
gtk_list_remove_items (GTK_LIST (layersD->layer_list), list);
layersD->layer_widgets = g_slist_remove (layersD->layer_widgets, layer_widget);
suspend_gimage_notify--;
/* Add it back at the proper index */
gtk_list_insert_items (GTK_LIST (layersD->layer_list), list, new_index);
layersD->layer_widgets = g_slist_insert (layersD->layer_widgets, layer_widget, new_index);
suspend_gimage_notify--;
}

View file

@ -1331,11 +1331,11 @@ layers_dialog_position_layer (Layer * layer,
gtk_list_remove_items (GTK_LIST (layersD->layer_list), list);
layersD->layer_widgets = g_slist_remove (layersD->layer_widgets, layer_widget);
suspend_gimage_notify--;
/* Add it back at the proper index */
gtk_list_insert_items (GTK_LIST (layersD->layer_list), list, new_index);
layersD->layer_widgets = g_slist_insert (layersD->layer_widgets, layer_widget, new_index);
suspend_gimage_notify--;
}