summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 796f9ac)
raw | patch | inline | side by side (parent: 796f9ac)
| author | joncruz <joncruz@users.sourceforge.net> | |
| Sun, 2 Mar 2008 05:45:09 +0000 (05:45 +0000) | ||
| committer | joncruz <joncruz@users.sourceforge.net> | |
| Sun, 2 Mar 2008 05:45:09 +0000 (05:45 +0000) |
| src/extension/execution-env.cpp | patch | blob | history | |
| src/trace/potrace/inkscape-potrace.cpp | patch | blob | history |
index fae764a9d156f62ab412e2f3259955ba8f0a7271..aa8c82171a99f2db61c6572c955a6bf9cda4f17d 100644 (file)
}
/** \brief Destroy an execution environment
-
+
Destroys the dialog if created and the document cache.
*/
ExecutionEnv::~ExecutionEnv (void) {
}
void
-ExecutionEnv::workingCanceled( const int resp) {
+ExecutionEnv::workingCanceled( const int /*resp*/) {
cancel();
undo();
return;
index 3f4cbc36c2803921e79aa0a61ff643205d6a515c..bad4278e2875a14f0ec99942783de244ebe25198 100644 (file)
}
-static void potraceStatusCallback(double progress, void *userData) /* callback fn */
+static void potraceStatusCallback(double /*progress*/, void *userData) /* callback fn */
{
updateGui();
RgbMap *gm = gdkPixbufToRgbMap(pixbuf);
if (engine.getMultiScanSmooth())
{
- RgbMap *gaussMap = rgbMapGaussian(gm);
- newGm = rgbMapQuantize(gaussMap, engine.getMultiScanNrColors());
- gaussMap->destroy(gaussMap);
- }
+ RgbMap *gaussMap = rgbMapGaussian(gm);
+ newGm = rgbMapQuantize(gaussMap, engine.getMultiScanNrColors());
+ gaussMap->destroy(gaussMap);
+ }
else
{
- newGm = rgbMapQuantize(gm, engine.getMultiScanNrColors());
- }
+ newGm = rgbMapQuantize(gm, engine.getMultiScanNrColors());
+ }
gm->destroy(gm);
if (engine.getTraceType() == TRACE_QUANT_MONO)
/* trace a bitmap*/
potrace_state_t *potraceState = potrace_trace(potraceParams,
- potraceBitmap);
+ potraceBitmap);
//## Free the Potrace bitmap
bm_free(potraceBitmap);