gimp r25759 - in trunk: . app/tools
- From: martinn svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r25759 - in trunk: . app/tools
- Date: Thu, 22 May 2008 16:58:22 +0000 (UTC)
Author: martinn
Date: Thu May 22 16:58:21 2008
New Revision: 25759
URL: http://svn.gnome.org/viewvc/gimp?rev=25759&view=rev
Log:
2008-05-22 Martin Nordholts <martinn svn gnome org>
* app/tools/gimpfreeselecttool.[ch]
* app/tools/gimpforegroundselecttool.c: Fix that some
gimp_free_select_tool_-functions had the wrong name.
Modified:
trunk/ChangeLog
trunk/app/tools/gimpforegroundselecttool.c
trunk/app/tools/gimpfreeselecttool.c
trunk/app/tools/gimpfreeselecttool.h
Modified: trunk/app/tools/gimpforegroundselecttool.c
==============================================================================
--- trunk/app/tools/gimpforegroundselecttool.c (original)
+++ trunk/app/tools/gimpforegroundselecttool.c Thu May 22 16:58:21 2008
@@ -642,9 +642,9 @@
scan_convert = gimp_scan_convert_new ();
- gimp_free_select_get_points (free_sel,
- &points,
- &n_points);
+ gimp_free_select_tool_get_points (free_sel,
+ &points,
+ &n_points);
gimp_scan_convert_add_polyline (scan_convert,
n_points,
Modified: trunk/app/tools/gimpfreeselecttool.c
==============================================================================
--- trunk/app/tools/gimpfreeselecttool.c (original)
+++ trunk/app/tools/gimpfreeselecttool.c Thu May 22 16:58:21 2008
@@ -241,11 +241,11 @@
}
static void
-gimp_free_select_get_segment (GimpFreeSelectTool *fst,
- GimpVector2 **points,
- gint *n_points,
- gint segment_start,
- gint segment_end)
+gimp_free_select_tool_get_segment (GimpFreeSelectTool *fst,
+ GimpVector2 **points,
+ gint *n_points,
+ gint segment_start,
+ gint segment_end)
{
Private *priv = GET_PRIVATE (fst);
@@ -604,11 +604,11 @@
/* Handle the segment before the grabbed point */
if (segment_index > 0)
{
- gimp_free_select_get_segment (fst,
- &dest,
- &n_points,
- priv->grabbed_segment_index - 1,
- priv->grabbed_segment_index);
+ gimp_free_select_tool_get_segment (fst,
+ &dest,
+ &n_points,
+ priv->grabbed_segment_index - 1,
+ priv->grabbed_segment_index);
dest_start_target = &dest[0];
dest_end_target = &cursor_point;
@@ -624,11 +624,11 @@
/* Handle the segment after the grabbed point */
if (segment_index < priv->n_segment_indices - 1)
{
- gimp_free_select_get_segment (fst,
- &dest,
- &n_points,
- priv->grabbed_segment_index,
- priv->grabbed_segment_index + 1);
+ gimp_free_select_tool_get_segment (fst,
+ &dest,
+ &n_points,
+ priv->grabbed_segment_index,
+ priv->grabbed_segment_index + 1);
dest_start_target = &cursor_point;
dest_end_target = &dest[n_points - 1];
@@ -736,11 +736,11 @@
if (priv->grabbed_segment_index > 0)
{
- gimp_free_select_get_segment (fst,
- &source,
- &n_points,
- priv->grabbed_segment_index - 1,
- priv->grabbed_segment_index);
+ gimp_free_select_tool_get_segment (fst,
+ &source,
+ &n_points,
+ priv->grabbed_segment_index - 1,
+ priv->grabbed_segment_index);
memcpy (source,
priv->saved_points_lower_segment,
@@ -749,11 +749,11 @@
if (priv->grabbed_segment_index < priv->n_segment_indices - 1)
{
- gimp_free_select_get_segment (fst,
- &source,
- &n_points,
- priv->grabbed_segment_index,
- priv->grabbed_segment_index + 1);
+ gimp_free_select_tool_get_segment (fst,
+ &source,
+ &n_points,
+ priv->grabbed_segment_index,
+ priv->grabbed_segment_index + 1);
memcpy (source,
priv->saved_points_higher_segment,
@@ -794,11 +794,11 @@
if (priv->grabbed_segment_index > 0)
{
- gimp_free_select_get_segment (fst,
- &source,
- &n_points,
- priv->grabbed_segment_index - 1,
- priv->grabbed_segment_index);
+ gimp_free_select_tool_get_segment (fst,
+ &source,
+ &n_points,
+ priv->grabbed_segment_index - 1,
+ priv->grabbed_segment_index);
priv->saved_points_lower_segment = g_new0 (GimpVector2, n_points);
@@ -809,11 +809,11 @@
if (priv->grabbed_segment_index < priv->n_segment_indices - 1)
{
- gimp_free_select_get_segment (fst,
- &source,
- &n_points,
- priv->grabbed_segment_index,
- priv->grabbed_segment_index + 1);
+ gimp_free_select_tool_get_segment (fst,
+ &source,
+ &n_points,
+ priv->grabbed_segment_index,
+ priv->grabbed_segment_index + 1);
priv->saved_points_higher_segment = g_new0 (GimpVector2, n_points);
@@ -1192,9 +1192,9 @@
}
void
-gimp_free_select_get_points (GimpFreeSelectTool *fst,
- const GimpVector2 **points,
- gint *n_points)
+gimp_free_select_tool_get_points (GimpFreeSelectTool *fst,
+ const GimpVector2 **points,
+ gint *n_points)
{
Private *priv = GET_PRIVATE (fst);
Modified: trunk/app/tools/gimpfreeselecttool.h
==============================================================================
--- trunk/app/tools/gimpfreeselecttool.h (original)
+++ trunk/app/tools/gimpfreeselecttool.h Thu May 22 16:58:21 2008
@@ -52,17 +52,17 @@
};
-void gimp_free_select_tool_register (GimpToolRegisterCallback callback,
- gpointer data);
+void gimp_free_select_tool_register (GimpToolRegisterCallback callback,
+ gpointer data);
-GType gimp_free_select_tool_get_type (void) G_GNUC_CONST;
+GType gimp_free_select_tool_get_type (void) G_GNUC_CONST;
-void gimp_free_select_tool_select (GimpFreeSelectTool *free_sel,
- GimpDisplay *display);
+void gimp_free_select_tool_select (GimpFreeSelectTool *free_sel,
+ GimpDisplay *display);
-void gimp_free_select_get_points (GimpFreeSelectTool *free_sel,
- const GimpVector2 **points,
- gint *n_points);
+void gimp_free_select_tool_get_points (GimpFreeSelectTool *free_sel,
+ const GimpVector2 **points,
+ gint *n_points);
#endif /* __GIMP_FREE_SELECT_TOOL_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]