summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2015-12-08 22:34:02 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2015-12-08 22:34:02 +0000
commitb6a5a7b59a78a35128633bd7b7a070ebeb263505 (patch)
tree3942bc2943ebc1a9c38fb4a8a06e5b50bc67c026 /src
parentcppification: GSList replaced by vectors (undo/redo) (diff)
downloadinkscape-b6a5a7b59a78a35128633bd7b7a070ebeb263505.tar.gz
inkscape-b6a5a7b59a78a35128633bd7b7a070ebeb263505.zip
finally removed all GSList from main folder .h files
(bzr r14504.1.15)
Diffstat (limited to 'src')
-rw-r--r--src/desktop.cpp6
-rw-r--r--src/graphlayout.h1
-rw-r--r--src/path-chemistry.h1
-rw-r--r--src/removeoverlap.h2
-rw-r--r--src/selection-chemistry.h2
-rw-r--r--src/seltrans.h1
-rw-r--r--src/snap.h1
-rw-r--r--src/sp-clippath.h1
-rw-r--r--src/sp-guide.h1
-rw-r--r--src/sp-item-group.h1
-rw-r--r--src/sp-object.h1
-rw-r--r--src/sp-switch.h1
-rw-r--r--src/unclump.h1
-rw-r--r--src/vanishing-point.h1
14 files changed, 0 insertions, 21 deletions
diff --git a/src/desktop.cpp b/src/desktop.cpp
index 491313234..0aac46e8d 100644
--- a/src/desktop.cpp
+++ b/src/desktop.cpp
@@ -1704,12 +1704,6 @@ static void _reconstruction_start(SPDesktop * desktop)
desktop->_reconstruction_old_layer_id = desktop->currentLayer()->getId() ? desktop->currentLayer()->getId() : "";
desktop->layers->reset();
- /*
- GSList const * selection_objs = desktop->selection->list();
- for (; selection_objs != NULL; selection_objs = selection_objs->next) {
-
- }
- */
desktop->selection->clear();
}
diff --git a/src/graphlayout.h b/src/graphlayout.h
index 9794dd6b5..dfef45359 100644
--- a/src/graphlayout.h
+++ b/src/graphlayout.h
@@ -16,7 +16,6 @@
#include <list>
-typedef struct _GSList GSList;
class SPItem;
void graphlayout(std::vector<SPItem*> const &items);
diff --git a/src/path-chemistry.h b/src/path-chemistry.h
index f454167a9..35ab923c0 100644
--- a/src/path-chemistry.h
+++ b/src/path-chemistry.h
@@ -24,7 +24,6 @@ class Node;
} // namespace Inkscape
typedef unsigned int guint32;
-typedef struct _GSList GSList;
void sp_selected_path_combine (SPDesktop *desktop);
void sp_selected_path_break_apart (SPDesktop *desktop);
diff --git a/src/removeoverlap.h b/src/removeoverlap.h
index d873663d1..cc0c7d9b7 100644
--- a/src/removeoverlap.h
+++ b/src/removeoverlap.h
@@ -13,8 +13,6 @@
#ifndef SEEN_REMOVEOVERLAP_H
#define SEEN_REMOVEOVERLAP_H
-typedef struct _GSList GSList;
-
void removeoverlap(std::vector<SPItem*> const &items, double xGap, double yGap);
#endif // SEEN_REMOVEOVERLAP_H
diff --git a/src/selection-chemistry.h b/src/selection-chemistry.h
index 5bcc5b1ea..4bfa2c0aa 100644
--- a/src/selection-chemistry.h
+++ b/src/selection-chemistry.h
@@ -22,7 +22,6 @@
class SPCSSAttr;
class SPDesktop;
-typedef struct _GSList GSList;
namespace Inkscape {
@@ -75,7 +74,6 @@ void sp_selection_unsymbol(SPDesktop *desktop);
void sp_selection_tile(SPDesktop *desktop, bool apply = true);
void sp_selection_untile(SPDesktop *desktop);
-//void sp_selection_group_impl(GSList const *reprs_to_group, Inkscape::XML::Node *group, Inkscape::XML::Document *xml_doc, SPDocument *doc);
void sp_selection_group(Inkscape::Selection *selection, SPDesktop *desktop);
void sp_selection_ungroup(Inkscape::Selection *selection, SPDesktop *desktop);
diff --git a/src/seltrans.h b/src/seltrans.h
index 26c2e9cd9..f756cc77a 100644
--- a/src/seltrans.h
+++ b/src/seltrans.h
@@ -34,7 +34,6 @@ class SPDesktop;
struct SPCanvasItem;
struct SPCtrlLine;
struct SPSelTransHandle;
-typedef struct _GSList GSList;
namespace Inkscape {
diff --git a/src/snap.h b/src/snap.h
index c4dd67b4c..41d21b1b2 100644
--- a/src/snap.h
+++ b/src/snap.h
@@ -39,7 +39,6 @@ namespace Inkscape {
class PureTransform;
}
-typedef struct _GSList GSList;
/**
* Class to coordinate snapping operations.
diff --git a/src/sp-clippath.h b/src/sp-clippath.h
index 8abe97f3f..7b1c83356 100644
--- a/src/sp-clippath.h
+++ b/src/sp-clippath.h
@@ -19,7 +19,6 @@
#define SP_IS_CLIPPATH(obj) (dynamic_cast<const SPClipPath*>((SPObject*)obj) != NULL)
struct SPClipPathView;
-typedef struct _GSList GSList;
#include <cstdio>
diff --git a/src/sp-guide.h b/src/sp-guide.h
index 720c83d36..25a0e5af8 100644
--- a/src/sp-guide.h
+++ b/src/sp-guide.h
@@ -22,7 +22,6 @@
typedef unsigned int guint32;
extern "C" {
typedef void (*GCallback) (void);
- typedef struct _GSList GSList;
}
class SPDesktop;
diff --git a/src/sp-item-group.h b/src/sp-item-group.h
index fc0b6382f..0c74c3dc3 100644
--- a/src/sp-item-group.h
+++ b/src/sp-item-group.h
@@ -25,7 +25,6 @@ namespace Inkscape {
class Drawing;
class DrawingItem;
-typedef struct _GSList GSList;
} // namespace Inkscape
diff --git a/src/sp-object.h b/src/sp-object.h
index 7bc02fad5..70d3e5df5 100644
--- a/src/sp-object.h
+++ b/src/sp-object.h
@@ -59,7 +59,6 @@ class SPObject;
class SPCSSAttr;
class SPStyle;
-typedef struct _GSList GSList;
namespace Inkscape {
namespace XML {
diff --git a/src/sp-switch.h b/src/sp-switch.h
index 7152e1b82..57ce8b236 100644
--- a/src/sp-switch.h
+++ b/src/sp-switch.h
@@ -17,7 +17,6 @@
#include "sp-item-group.h"
-typedef struct _GSList GSList;
#define SP_SWITCH(obj) (dynamic_cast<SPSwitch*>((SPObject*)obj))
#define SP_IS_SWITCH(obj) (dynamic_cast<const SPSwitch*>((SPObject*)obj) != NULL)
diff --git a/src/unclump.h b/src/unclump.h
index 461e99d0b..c6948f320 100644
--- a/src/unclump.h
+++ b/src/unclump.h
@@ -11,7 +11,6 @@
#ifndef SEEN_DIALOGS_UNCLUMP_H
#define SEEN_DIALOGS_UNCLUMP_H
-typedef struct _GSList GSList;
void unclump(std::vector<SPItem*> &items);
diff --git a/src/vanishing-point.h b/src/vanishing-point.h
index e967096e5..28da8e7fa 100644
--- a/src/vanishing-point.h
+++ b/src/vanishing-point.h
@@ -193,7 +193,6 @@ public:
inline bool hasEmptySelection() { return this->selection->isEmpty(); }
bool allBoxesAreSelected (VPDragger *dragger);
- GSList * selectedBoxesWithVPinDragger (VPDragger *dragger);
// FIXME: Should this be private? (It's the case with the corresponding function in gradient-drag.h)
// But vp_knot_grabbed_handler