app/iscissors.c Change to select the bezier tool properly when converting

Fri Mar 26 01:30:45 EST 1998 Matthew Wilson <msw@gimp.org>
	* app/iscissors.c
	* app/bezier_select.c: Change to select the bezier tool properly
	when converting from iscissors to bezier

-Matt
This commit is contained in:
EST 1998 Matthew Wilson
1998-03-27 06:29:39 +00:00
committed by Matt Wilson
parent 1d3eb2375d
commit 2bdb815447
6 changed files with 9 additions and 7 deletions

View File

@ -1,3 +1,8 @@
Fri Mar 26 01:30:45 EST 1998 Matthew Wilson <msw@gimp.org>
* app/iscissors.c
* app/bezier_select.c: Change to select the bezier tool properly
when converting from iscissors to bezier
Thu Mar 26 17:41:55 MST 1998 Nathan Summers <rock@gimp.org>
* app/iscissors.c: fixed the sigsegv if the layer is offset!

View File

@ -26,6 +26,7 @@
#include "gdisplay.h"
#include "gimage_mask.h"
#include "rect_select.h"
#include "interface.h"
#define BEZIER_START 1
#define BEZIER_ADD 2
@ -171,8 +172,7 @@ bezier_select_load (void *gdisp_ptr,
gdisp = (GDisplay *) gdisp_ptr;
/* select the bezier tool */
tools_select (BEZIER_SELECT);
gtk_widget_activate (tool_widgets[tool_info[BEZIER_SELECT].toolbar_position]);
tool = active_tool;
tool->state = ACTIVE;
tool->gdisp_ptr = gdisp_ptr;

View File

@ -281,7 +281,6 @@ selection_to_bezier(GtkWidget *w, gpointer none)
iscissors = (Iscissors *) last_tool->private;
last_tool->state = INACTIVE;
bezierify_boundary (last_tool);
tools_select(BEZIER_SELECT);
}
return;
}

View File

@ -26,6 +26,7 @@
#include "gdisplay.h"
#include "gimage_mask.h"
#include "rect_select.h"
#include "interface.h"
#define BEZIER_START 1
#define BEZIER_ADD 2
@ -171,8 +172,7 @@ bezier_select_load (void *gdisp_ptr,
gdisp = (GDisplay *) gdisp_ptr;
/* select the bezier tool */
tools_select (BEZIER_SELECT);
gtk_widget_activate (tool_widgets[tool_info[BEZIER_SELECT].toolbar_position]);
tool = active_tool;
tool->state = ACTIVE;
tool->gdisp_ptr = gdisp_ptr;

View File

@ -281,7 +281,6 @@ selection_to_bezier(GtkWidget *w, gpointer none)
iscissors = (Iscissors *) last_tool->private;
last_tool->state = INACTIVE;
bezierify_boundary (last_tool);
tools_select(BEZIER_SELECT);
}
return;
}

View File

@ -281,7 +281,6 @@ selection_to_bezier(GtkWidget *w, gpointer none)
iscissors = (Iscissors *) last_tool->private;
last_tool->state = INACTIVE;
bezierify_boundary (last_tool);
tools_select(BEZIER_SELECT);
}
return;
}