summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-08 22:35:58 +0000
committerDavid Robillard <d@drobilla.net>2011-12-08 22:35:58 +0000
commitcb09240a5a56a414e817e65433859b0c398d729f (patch)
tree856333e0dc966a5465851a92426ad86188a5b5ed
parentcf71d7ee9914de3936456eebe6d87948b46b2e57 (diff)
downloadganv-cb09240a5a56a414e817e65433859b0c398d729f.tar.gz
ganv-cb09240a5a56a414e817e65433859b0c398d729f.tar.bz2
ganv-cb09240a5a56a414e817e65433859b0c398d729f.zip
Delete trailing whitespace.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3838 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--ganv/Edge.hpp2
-rw-r--r--ganv/edge.h2
-rw-r--r--ganv/module.h4
-rw-r--r--src/Canvas.cpp4
-rw-r--r--src/Port.cpp2
-rw-r--r--src/module.c2
-rw-r--r--src/text.c6
7 files changed, 11 insertions, 11 deletions
diff --git a/ganv/Edge.hpp b/ganv/Edge.hpp
index 535f0da..01b5b66 100644
--- a/ganv/Edge.hpp
+++ b/ganv/Edge.hpp
@@ -73,7 +73,7 @@ public:
double x2, double y2) const {
return ganv_edge_is_within(gobj(), x1, y1, x2, y2);
}
-
+
RW_PROPERTY(gboolean, curved)
RW_PROPERTY(gboolean, selected)
RW_PROPERTY(gboolean, highlighted)
diff --git a/ganv/edge.h b/ganv/edge.h
index 461aa17..fa1b7b9 100644
--- a/ganv/edge.h
+++ b/ganv/edge.h
@@ -86,7 +86,7 @@ ganv_edge_get_tail(const GanvEdge* edge);
GanvNode*
ganv_edge_get_head(const GanvEdge* edge);
-
+
G_END_DECLS
#endif /* GANV_EDGE_H */
diff --git a/ganv/module.h b/ganv/module.h
index 4f89a38..7811504 100644
--- a/ganv/module.h
+++ b/ganv/module.h
@@ -35,7 +35,7 @@ typedef struct _GanvModuleClass GanvModuleClass;
typedef struct _GanvModuleImpl GanvModuleImpl;
typedef void (*GanvPortFunction)(GanvPort* port, void* data);
-
+
struct _GanvModule
{
GanvBox box;
@@ -58,7 +58,7 @@ ganv_module_num_ports(const GanvModule* module);
GanvPort*
ganv_module_get_port(GanvModule* module,
guint index);
-
+
void
ganv_module_add_port(GanvModule* module,
GanvPort* port);
diff --git a/src/Canvas.cpp b/src/Canvas.cpp
index c969f31..692f3ee 100644
--- a/src/Canvas.cpp
+++ b/src/Canvas.cpp
@@ -336,7 +336,7 @@ select_if_tail_is_selected(GanvEdge* edge)
g_object_get(ganv_port_get_module(GANV_PORT(tail)),
"selected", &selected, NULL);
}
-
+
if (selected) {
ganv_edge_select(edge);
}
@@ -352,7 +352,7 @@ select_if_head_is_selected(GanvEdge* edge)
g_object_get(ganv_port_get_module(GANV_PORT(head)),
"selected", &selected, NULL);
}
-
+
if (selected) {
ganv_edge_select(edge);
}
diff --git a/src/Port.cpp b/src/Port.cpp
index e6298f8..36c556a 100644
--- a/src/Port.cpp
+++ b/src/Port.cpp
@@ -46,5 +46,5 @@ Port::get_module() const
{
return Glib::wrap(ganv_port_get_module(gobj()));
}
-
+
} // namespace Ganv
diff --git a/src/module.c b/src/module.c
index ac8cc58..c4e72b1 100644
--- a/src/module.c
+++ b/src/module.c
@@ -714,7 +714,7 @@ ganv_module_get_empty_port_depth(const GanvModule* module)
GNOME_CANVAS_ITEM(module)->canvas);
return ganv_canvas_get_font_size(canvas);
-}
+}
void
ganv_module_set_icon(GanvModule* module,
diff --git a/src/text.c b/src/text.c
index 98fc471..b2e956c 100644
--- a/src/text.c
+++ b/src/text.c
@@ -135,7 +135,7 @@ ganv_text_layout(GanvText* text)
cairo_destroy(cr);
g_object_unref(layout);
pango_font_description_free(font);
-
+
impl->needs_layout = FALSE;
gnome_canvas_item_request_update(GNOME_CANVAS_ITEM(text));
}
@@ -185,7 +185,7 @@ ganv_text_get_property(GObject* object,
|| prop_id == PROP_HEIGHT)) {
ganv_text_layout(text);
}
-
+
switch (prop_id) {
GET_CASE(TEXT, string, impl->text);
GET_CASE(X, double, impl->coords.x);
@@ -308,7 +308,7 @@ ganv_text_draw(GnomeCanvasItem* item,
// Round to the nearest pixel so text isn't blurry
wx = lrint(wx - x);
wy = lrint(wy - y);
-
+
cairo_set_source_surface(cr, impl->surface, wx, wy);
cairo_paint(cr);