index a072afeda2b0f64a4b45815fa9590ed430ceea64..6da465f2a48691557a97d0ffb71f5bbd95bc4030 100644 (file)
*/
#include <gdk/gdkkeysyms.h>
*/
#include <gdk/gdkkeysyms.h>
+#include <string>
+#include <cstring>
#include "connector-context.h"
#include "pixmaps/cursor-connector.xpm"
#include "connector-context.h"
#include "pixmaps/cursor-connector.xpm"
static void
static void
-spcc_connector_finish_segment(SPConnectorContext *const cc, NR::Point const p)
+spcc_connector_finish_segment(SPConnectorContext *const cc, NR::Point const /*p*/)
{
if (!sp_curve_empty(cc->red_curve)) {
sp_curve_append_continuous(cc->green_curve, cc->red_curve, 0.0625);
{
if (!sp_curve_empty(cc->red_curve)) {
sp_curve_append_continuous(cc->green_curve, cc->red_curve, 0.0625);
static gboolean
static gboolean
-endpt_handler(SPKnot *knot, GdkEvent *event, SPConnectorContext *cc)
+endpt_handler(SPKnot */*knot*/, GdkEvent *event, SPConnectorContext *cc)
{
g_assert( SP_IS_CONNECTOR_CONTEXT(cc) );
{
g_assert( SP_IS_CONNECTOR_CONTEXT(cc) );
static void
static void
-shape_event_attr_deleted(Inkscape::XML::Node *repr, Inkscape::XML::Node *child,
- Inkscape::XML::Node *ref, gpointer data)
+shape_event_attr_deleted(Inkscape::XML::Node */*repr*/, Inkscape::XML::Node *child,
+ Inkscape::XML::Node */*ref*/, gpointer data)
{
g_assert(data);
SPConnectorContext *cc = SP_CONNECTOR_CONTEXT(data);
{
g_assert(data);
SPConnectorContext *cc = SP_CONNECTOR_CONTEXT(data);
@@ -1363,8 +1365,8 @@ shape_event_attr_deleted(Inkscape::XML::Node *repr, Inkscape::XML::Node *child,
static void
shape_event_attr_changed(Inkscape::XML::Node *repr, gchar const *name,
static void
shape_event_attr_changed(Inkscape::XML::Node *repr, gchar const *name,
- gchar const *old_value, gchar const *new_value,
- bool is_interactive, gpointer data)
+ gchar const */*old_value*/, gchar const */*new_value*/,
+ bool /*is_interactive*/, gpointer data)
{
g_assert(data);
SPConnectorContext *cc = SP_CONNECTOR_CONTEXT(data);
{
g_assert(data);
SPConnectorContext *cc = SP_CONNECTOR_CONTEXT(data);