summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFelipe Corr??a da Silva Sanches <juca@members.fsf.org>2008-06-25 03:02:27 +0000
committerJucaBlues <JucaBlues@users.sourceforge.net>2008-06-25 03:02:27 +0000
commit093ff341eee3a5e8ac52798379b6589b10d86940 (patch)
treed51472e883146bf68d3e966172cc03c801816f07 /src
parentmissing files from previous commit (diff)
downloadinkscape-093ff341eee3a5e8ac52798379b6589b10d86940.tar.gz
inkscape-093ff341eee3a5e8ac52798379b6589b10d86940.zip
warning cleanup
(bzr r6058)
Diffstat (limited to 'src')
-rw-r--r--src/ui/dialog/filter-effects-dialog.cpp2
-rw-r--r--src/ui/dialog/messages.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/dialog/filter-effects-dialog.cpp b/src/ui/dialog/filter-effects-dialog.cpp
index 98951f28c..1ded9e255 100644
--- a/src/ui/dialog/filter-effects-dialog.cpp
+++ b/src/ui/dialog/filter-effects-dialog.cpp
@@ -2213,7 +2213,7 @@ void FilterEffectsDialog::init_settings_widgets()
_k4 = _settings->add_spinslider(0, SP_ATTR_K4, _("K4"), -10, 10, 0.1, 0.01, 2, _("If the arithmetic operation is chosen, each result pixel is computed using the formula k1*i1*i2 + k2*i1 + k3*i2 + k4 where i1 and i2 are the pixel values of the first and second inputs respectively."));
_settings->type(NR_FILTER_CONVOLVEMATRIX);
- _convolve_order = _settings->add_dualspinbutton("3", SP_ATTR_ORDER, _("Size"), 1, 5, 1, 1, 0, _("width of the convolve matrix"), _("height of the convolve matrix"));
+ _convolve_order = _settings->add_dualspinbutton((char*)"3", SP_ATTR_ORDER, _("Size"), 1, 5, 1, 1, 0, _("width of the convolve matrix"), _("height of the convolve matrix"));
_convolve_target = _settings->add_multispinbutton(/*default x:*/ (double) 0, /*default y:*/ (double) 0, SP_ATTR_TARGETX, SP_ATTR_TARGETY, _("Target"), 0, 4, 1, 1, 0, _("X coordinate of the target point in the convolve matrix. The convolution is applied to pixels around this point."), _("Y coordinate of the target point in the convolve matrix. The convolution is applied to pixels around this point."));
//TRANSLATORS: for info on "Kernel", see http://en.wikipedia.org/wiki/Kernel_(matrix)
_convolve_matrix = _settings->add_matrix(SP_ATTR_KERNELMATRIX, _("Kernel"), _("This matrix describes the convolve operation that is applied to the input image in order to calculate the pixel colors at the output. Different arrangements of values in this matrix result in various possible visual effects. An identity matrix would lead to a motion blur effect (parallel to the matrix diagonal) while a matrix filled with a constant non-zero value would lead to a common blur effect."));
diff --git a/src/ui/dialog/messages.cpp b/src/ui/dialog/messages.cpp
index 31bec26a7..7eaf23f50 100644
--- a/src/ui/dialog/messages.cpp
+++ b/src/ui/dialog/messages.cpp
@@ -147,7 +147,7 @@ void Messages::captureLogMessages()
handlerGtkmm = g_log_set_handler("gtkmm", flags,
dialogLoggingFunction, (gpointer)this);
}
- message("log capture started");
+ message((char*)"log capture started");
}
void Messages::releaseLogMessages()
@@ -176,7 +176,7 @@ void Messages::releaseLogMessages()
g_log_remove_handler("gtkmm", handlerGtkmm);
handlerGtkmm = 0;
}
- message("log capture discontinued");
+ message((char*)"log capture discontinued");
}
} //namespace Dialog