diff options
| author | Kris De Gussem <kris.degussem@gmail.com> | 2011-12-17 07:25:34 +0000 |
|---|---|---|
| committer | Kris <Kris.De.Gussem@hotmail.com> | 2011-12-17 07:25:34 +0000 |
| commit | 4ad98494f8d6e48acdf44bbf8bbcdfb4378d5316 (patch) | |
| tree | c57011dcca167d68168e7467e81c6d523fe03302 /src/widgets | |
| parent | fix compiler warning (diff) | |
| download | inkscape-4ad98494f8d6e48acdf44bbf8bbcdfb4378d5316.tar.gz inkscape-4ad98494f8d6e48acdf44bbf8bbcdfb4378d5316.zip | |
fix compiler warnings
(bzr r10777)
Diffstat (limited to 'src/widgets')
| -rw-r--r-- | src/widgets/sp-attribute-widget.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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<Glib::ustring> attributes = spat->get_attributes(); std::vector<Gtk::Widget *> 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<Glib::ustring> attributes = spat->get_attributes(); std::vector<Gtk::Widget *> entries = spat->get_entries(); Gtk::Entry *e; |
