From 4ad98494f8d6e48acdf44bbf8bbcdfb4378d5316 Mon Sep 17 00:00:00 2001 From: Kris De Gussem Date: Sat, 17 Dec 2011 08:25:34 +0100 Subject: fix compiler warnings (bzr r10777) --- src/widgets/sp-attribute-widget.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/widgets/sp-attribute-widget.cpp') diff --git a/src/widgets/sp-attribute-widget.cpp b/src/widgets/sp-attribute-widget.cpp index eb90df60e..1c7d36b4d 100644 --- a/src/widgets/sp-attribute-widget.cpp +++ b/src/widgets/sp-attribute-widget.cpp @@ -277,7 +277,7 @@ void SPAttributeTable::set_object(SPObject *object, // Fill rows _attributes = attributes; - for (gint i = 0; i < (attributes.size()); i++) { + for (guint i = 0; i < (attributes.size()); i++) { Gtk::Label *ll; Gtk::Entry *ee; Gtk::Widget *w; @@ -335,7 +335,7 @@ void SPAttributeTable::set_repr (Inkscape::XML::Node *repr, // Fill rows _attributes = attributes; - for (gint i = 0; i < (attributes.size()); i++) { + for (guint i = 0; i < (attributes.size()); i++) { Gtk::Label *ll; Gtk::Entry *ee; Gtk::Widget *w; @@ -376,7 +376,7 @@ static void sp_attribute_table_object_modified ( SPObject */*object*/, { if (flags && SP_OBJECT_MODIFIED_FLAG) { - gint i; + guint i; std::vector attributes = spat->get_attributes(); std::vector entries = spat->get_entries(); Gtk::Entry* e; @@ -404,7 +404,7 @@ static void sp_attribute_table_entry_changed ( Gtk::Editable *editable, { if (!spat->blocked) { - gint i; + guint i; std::vector attributes = spat->get_attributes(); std::vector entries = spat->get_entries(); Gtk::Entry *e; -- cgit v1.2.3