Commit 236ea4dd authored by Michael Natterer's avatar Michael Natterer

app: "disable" SIOX but in an evil way that keeps the tool building

Will probably crash hilariously when using it.
parent d80182cf
......@@ -33,6 +33,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#if 0
#include "config.h"
#include <glib-object.h>
......@@ -1415,3 +1417,5 @@ siox_done (SioxState *state)
g_printerr ("siox.c: siox_done()\n");
#endif
}
#endif
......@@ -41,6 +41,8 @@
#define SIOX_DEFAULT_SENSITIVITY_A 1.28
#define SIOX_DEFAULT_SENSITIVITY_B 2.56
#if 0
/* FIXME: turn this into an enum */
#define SIOX_DRB_ADD 0
#define SIOX_DRB_SUBTRACT 1
......@@ -79,5 +81,7 @@ void siox_drb (SioxState *state,
gint brush_mode,
gfloat threshold);
#endif
#endif /* __SIOX_H__ */
......@@ -23,8 +23,10 @@
#include "core-types.h"
#if 0
#include "base/siox.h"
#include "base/tile-manager.h"
#endif
#include "gegl/gimp-gegl-utils.h"
......@@ -45,6 +47,7 @@ gimp_drawable_foreground_extract (GimpDrawable *drawable,
GimpDrawable *mask,
GimpProgress *progress)
{
#if 0
SioxState *state;
const gdouble sensitivity[3] = { SIOX_DEFAULT_SENSITIVITY_L,
SIOX_DEFAULT_SENSITIVITY_A,
......@@ -70,6 +73,7 @@ gimp_drawable_foreground_extract (GimpDrawable *drawable,
gimp_drawable_foreground_extract_siox_done (state);
}
#endif
}
SioxState *
......@@ -79,6 +83,7 @@ gimp_drawable_foreground_extract_siox_init (GimpDrawable *drawable,
gint width,
gint height)
{
#if 0
GeglBuffer *buffer;
const guchar *colormap = NULL;
gboolean intersect;
......@@ -112,6 +117,9 @@ gimp_drawable_foreground_extract_siox_init (GimpDrawable *drawable,
return siox_init (gimp_gegl_buffer_get_tiles (buffer), colormap,
offset_x, offset_y,
x, y, width, height);
#endif
return NULL;
}
void
......@@ -123,6 +131,7 @@ gimp_drawable_foreground_extract_siox (GimpDrawable *mask,
gboolean multiblob,
GimpProgress *progress)
{
#if 0
GeglBuffer *buffer;
gint x1, y1;
gint x2, y2;
......@@ -162,12 +171,15 @@ gimp_drawable_foreground_extract_siox (GimpDrawable *mask,
gimp_progress_end (progress);
gimp_drawable_update (mask, x1, y1, x2, y2);
#endif
}
void
gimp_drawable_foreground_extract_siox_done (SioxState *state)
{
#if 0
g_return_if_fail (state != NULL);
siox_done (state);
#endif
}
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