From 4cfb84c573f21ca7519e24cff1c5742b715355c4 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 7 May 2011 12:22:36 -0400 Subject: Whitespace and coding style cleanups. --- libgnomecanvas/gnome-canvas-rich-text.c | 4 +++- libgnomecanvas/gnome-canvas-text.c | 3 ++- libgnomecanvas/gnome-canvas.c | 7 ++++--- 3 files changed, 9 insertions(+), 5 deletions(-) (limited to 'libgnomecanvas') 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, -- cgit