aboutsummaryrefslogtreecommitdiffstats
path: root/libgnomecanvas
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-08 00:22:36 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-05-08 06:48:38 +0800
commit4cfb84c573f21ca7519e24cff1c5742b715355c4 (patch)
tree92314a7c4ebb1b82f5bbe0e48856e23f06dcfc95 /libgnomecanvas
parentc7b455de89487e606fc620420c1778f5e55afcac (diff)
downloadgsoc2013-evolution-4cfb84c573f21ca7519e24cff1c5742b715355c4.tar
gsoc2013-evolution-4cfb84c573f21ca7519e24cff1c5742b715355c4.tar.gz
gsoc2013-evolution-4cfb84c573f21ca7519e24cff1c5742b715355c4.tar.bz2
gsoc2013-evolution-4cfb84c573f21ca7519e24cff1c5742b715355c4.tar.lz
gsoc2013-evolution-4cfb84c573f21ca7519e24cff1c5742b715355c4.tar.xz
gsoc2013-evolution-4cfb84c573f21ca7519e24cff1c5742b715355c4.tar.zst
gsoc2013-evolution-4cfb84c573f21ca7519e24cff1c5742b715355c4.zip
Whitespace and coding style cleanups.
Diffstat (limited to 'libgnomecanvas')
-rw-r--r--libgnomecanvas/gnome-canvas-rich-text.c4
-rw-r--r--libgnomecanvas/gnome-canvas-text.c3
-rw-r--r--libgnomecanvas/gnome-canvas.c7
3 files changed, 9 insertions, 5 deletions
diff --git a/libgnomecanvas/gnome-canvas-rich-text.c b/libgnomecanvas/gnome-canvas-rich-text.c
index a3ef6447ab..2bd4c779b9 100644
--- a/libgnomecanvas/gnome-canvas-rich-text.c
+++ b/libgnomecanvas/gnome-canvas-rich-text.c
@@ -2072,7 +2072,9 @@ gnome_canvas_rich_text_add_tag (GnomeCanvasRichText *text, gchar *tag_name,
GtkTextTagTable *tag_table;
tag_table = gtk_text_buffer_get_tag_table (get_buffer (text));
- g_return_val_if_fail (gtk_text_tag_table_lookup (tag_table, tag_name) == NULL, NULL);
+ g_return_val_if_fail (
+ gtk_text_tag_table_lookup (
+ tag_table, tag_name) == NULL, NULL);
}
tag = gtk_text_buffer_create_tag (
diff --git a/libgnomecanvas/gnome-canvas-text.c b/libgnomecanvas/gnome-canvas-text.c
index d21c9b9c97..393d42216e 100644
--- a/libgnomecanvas/gnome-canvas-text.c
+++ b/libgnomecanvas/gnome-canvas-text.c
@@ -323,7 +323,8 @@ gnome_canvas_text_class_init (GnomeCanvasTextClass *class)
PROP_RISE,
g_param_spec_int ("rise",
"Rise",
- "Offset of text above the baseline (below the baseline if rise is negative)",
+ "Offset of text above the baseline "
+ "(below the baseline if rise is negative)",
-G_MAXINT,
G_MAXINT,
0,
diff --git a/libgnomecanvas/gnome-canvas.c b/libgnomecanvas/gnome-canvas.c
index 8be48a95a7..5ad73e7e62 100644
--- a/libgnomecanvas/gnome-canvas.c
+++ b/libgnomecanvas/gnome-canvas.c
@@ -2546,7 +2546,8 @@ pick_current_item (GnomeCanvas *canvas, GdkEvent *event)
canvas->in_repick = FALSE;
}
- /* new_current_item may have been set to NULL during the call to emit_event() above */
+ /* new_current_item may have been set to NULL during the
+ * call to emit_event() above */
if ((canvas->new_current_item != canvas->current_item) && button_down) {
canvas->left_grabbed_item = TRUE;
@@ -2907,8 +2908,8 @@ gnome_canvas_set_scroll_region (GnomeCanvas *canvas,
vadjustment_value = gtk_adjustment_get_value (vadjustment);
/*
- * Set the new scrolling region. If possible, do not move the visible contents of the
- * canvas.
+ * Set the new scrolling region. If possible, do not move the
+ * visible contents of the canvas.
*/
gnome_canvas_c2w (canvas,