Commit 3a8fcdc3 authored by Øyvind Kolås's avatar Øyvind Kolås

#include "gegl-path-smooth.h" removed unusded variables. fix whitespace

* bin/gegl.c: #include "gegl-path-smooth.h"
* bin/editor.c: removed unusded variables.
* bin/Makefile.am: fix whitespace issues.

svn path=/trunk/; revision=2691
parent ed6ec4ba
2008-11-02 Øyvind Kolås <pippin@gimp.org>
* bin/gegl.c: #include "gegl-path-smooth.h"
* bin/editor.c: removed unusded variables.
* bin/Makefile.am: fix whitespace issues.
2008-11-02 Øyvind Kolås <pippin@gimp.org>
* operations/common/introspect.c: (process): move unused variable
......
......@@ -40,10 +40,10 @@ gegl_SOURCES = \
editor.o: editor-actions.inc
editor-actions.inc: editor.c
echo ''> $@
for action in `cat $< | grep "^static gint [0-9a-z_A-Z]* (" | sed -e 's/^.* gint //' -e 's/ .*//'`;do \
echo "o(\""`echo $$action | sed -e 's/_/-/g' -e 's/action-//'`"\", $$action);" >> $@; \
done
echo ''> $@
for action in `cat $< | grep "^static gint [0-9a-z_A-Z]* (" | sed -e 's/^.* gint //' -e 's/ .*//'`;do \
echo "o(\""`echo $$action | sed -e 's/_/-/g' -e 's/action-//'`"\", $$action);" >> $@; \
done
CLEANFILES = editor-actions.inc bkl-tasks.inc
......
......@@ -756,8 +756,6 @@ width_motion_notify_event (GtkWidget *widget,
gdouble linewidth;
const GeglPathItem *knot;
GeglPathItem new_knot;
gint i;
gint n;
gdouble cx, cy;
GeglPath *vector;
......@@ -1042,11 +1040,6 @@ static gboolean cairo_gui_expose (GtkWidget *widget,
x = tools.menux;
y = tools.menuy;
#if 0
cairo_move_to (cr, x, y);
cairo_arc (cr, x, y, 100, 0.0, 3.1415*2);
cairo_fill (cr);
#endif
{
gint segment;
......@@ -1325,8 +1318,8 @@ gui_press_event (GtkWidget *widget,
gegl_node_get_translation (GEGL_NODE (tools.node), &tx, &ty);
ex = (event->x + x) / scale - tx;
ey = (event->y + y) / scale - ty;
ex = (event->x + x) / scale;
ey = (event->y + y) / scale;
tools.prevx = ex;
tools.prevy = ey;
......@@ -1457,8 +1450,8 @@ gui_motion_event (GtkWidget *widget,
gegl_node_get_translation (GEGL_NODE (tools.node), &tx, &ty);
ex = (event->x + x) / scale - tx;
ey = (event->y + y) / scale - ty;
ex = (event->x + x) / scale;
ey = (event->y + y) / scale;
move_rel (tools.node, ex-tools.prevx, ey-tools.prevy);
......
......@@ -32,6 +32,7 @@
#ifdef HAVE_SPIRO
#include "gegl-path-spiro.h"
#endif
#include "gegl-path-smooth.h"
#ifdef G_OS_WIN32
#include <direct.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment