summaryrefslogtreecommitdiffstats
path: root/src/mesh-context.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2012-05-24 17:34:36 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2012-05-24 17:34:36 +0000
commit469e0ce09ae5ae9386a826cb0cfaed70977d25a8 (patch)
treeb56a000578dd54726af134a091d9e9857bfce260 /src/mesh-context.cpp
parentAdded option to close export dialog upon completion. Fixes bug #43730. (diff)
downloadinkscape-469e0ce09ae5ae9386a826cb0cfaed70977d25a8.tar.gz
inkscape-469e0ce09ae5ae9386a826cb0cfaed70977d25a8.zip
fix windows build. use 'guint' instead of 'uint'. although I do not know why you wouldn't just use 'unsigned int'
(bzr r11410)
Diffstat (limited to 'src/mesh-context.cpp')
-rw-r--r--src/mesh-context.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mesh-context.cpp b/src/mesh-context.cpp
index d34782e12..f522463cf 100644
--- a/src/mesh-context.cpp
+++ b/src/mesh-context.cpp
@@ -213,10 +213,10 @@ mesh_selection_changed (Inkscape::Selection *, gpointer data)
// SPMeshGradient *mg = SP_MESHGRADIENT(server);
- // uint rows = 0;//mg->array.patches.size();
- // for ( uint i = 0; i < rows; ++i ) {
- // uint columns = 0;//mg->array.patches[0].size();
- // for ( uint j = 0; j < columns; ++j ) {
+ // guint rows = 0;//mg->array.patches.size();
+ // for ( guint i = 0; i < rows; ++i ) {
+ // guint columns = 0;//mg->array.patches[0].size();
+ // for ( guint j = 0; j < columns; ++j ) {
// }
// }
// }
@@ -225,7 +225,7 @@ mesh_selection_changed (Inkscape::Selection *, gpointer data)
// }
// GList* dragger_ptr = drag->draggers; // Points to GrDragger class (group of GrDraggable)
- // uint count = 0;
+ // guint count = 0;
// while( dragger_ptr ) {
// std::cout << "mesh_selection_changed: dragger: " << ++count << std::endl;
@@ -381,7 +381,7 @@ sp_mesh_context_corner_operation (SPMeshContext *rc, MeshCornerOperation operati
SPDocument *doc = NULL;
GrDrag *drag = rc->_grdrag;
- std::map<SPMeshGradient*, std::vector<uint> > points;
+ std::map<SPMeshGradient*, std::vector<guint> > points;
std::map<SPMeshGradient*, SPItem*> items;
// Get list of selected draggers for each mesh.
@@ -405,10 +405,10 @@ sp_mesh_context_corner_operation (SPMeshContext *rc, MeshCornerOperation operati
}
// Loop over meshes.
- for( std::map<SPMeshGradient*, std::vector<uint> >::const_iterator iter = points.begin(); iter != points.end(); ++iter) {
+ for( std::map<SPMeshGradient*, std::vector<guint> >::const_iterator iter = points.begin(); iter != points.end(); ++iter) {
SPMeshGradient *mg = SP_MESHGRADIENT( iter->first );
if( iter->second.size() > 0 ) {
- uint noperation = 0;
+ guint noperation = 0;
switch (operation) {
case MG_CORNER_SIDE_TOGGLE: