From: joncruz Date: Sat, 17 May 2008 04:44:14 +0000 (+0000) Subject: Warning cleanup X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9f9fdafd2016373fa9f8c408c4012d9cd8f43b37;p=inkscape.git Warning cleanup --- diff --git a/src/widgets/gradient-image.cpp b/src/widgets/gradient-image.cpp index d4eb01143..e9277a55b 100644 --- a/src/widgets/gradient-image.cpp +++ b/src/widgets/gradient-image.cpp @@ -256,7 +256,7 @@ sp_gradient_image_gradient_release (SPObject *, SPGradientImage *image) } static void -sp_gradient_image_gradient_modified (SPObject *, guint flags, SPGradientImage *image) +sp_gradient_image_gradient_modified (SPObject *, guint /*flags*/, SPGradientImage *image) { sp_gradient_image_update (image); } diff --git a/src/widgets/gradient-selector.cpp b/src/widgets/gradient-selector.cpp index 0091fb3c9..a657a6506 100644 --- a/src/widgets/gradient-selector.cpp +++ b/src/widgets/gradient-selector.cpp @@ -275,7 +275,7 @@ sp_gradient_selector_get_vector (SPGradientSelector *sel) } static void -sp_gradient_selector_vector_set (SPGradientVectorSelector *gvs, SPGradient *gr, SPGradientSelector *sel) +sp_gradient_selector_vector_set (SPGradientVectorSelector */*gvs*/, SPGradient *gr, SPGradientSelector *sel) { static gboolean blocked = FALSE; @@ -289,7 +289,7 @@ sp_gradient_selector_vector_set (SPGradientVectorSelector *gvs, SPGradient *gr, } static void -sp_gradient_selector_edit_vector_clicked (GtkWidget *w, SPGradientSelector *sel) +sp_gradient_selector_edit_vector_clicked (GtkWidget */*w*/, SPGradientSelector *sel) { GtkWidget *dialog; @@ -300,7 +300,7 @@ sp_gradient_selector_edit_vector_clicked (GtkWidget *w, SPGradientSelector *sel) } static void -sp_gradient_selector_add_vector_clicked (GtkWidget *w, SPGradientSelector *sel) +sp_gradient_selector_add_vector_clicked (GtkWidget */*w*/, SPGradientSelector *sel) { SPDocument *doc = sp_gradient_vector_selector_get_document ( SP_GRADIENT_VECTOR_SELECTOR (sel->vectors)); @@ -310,7 +310,7 @@ sp_gradient_selector_add_vector_clicked (GtkWidget *w, SPGradientSelector *sel) SPGradient *gr = sp_gradient_vector_selector_get_gradient( SP_GRADIENT_VECTOR_SELECTOR (sel->vectors)); - Inkscape::XML::Document *xml_doc = sp_document_repr_doc(doc); + Inkscape::XML::Document *xml_doc = sp_document_repr_doc(doc); Inkscape::XML::Node *repr = NULL;