diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-08 00:22:36 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:10 +0800 |
commit | 578214584caa7805edca09b27e2306dc31d80fb6 (patch) | |
tree | dfa18882e01b362a721fd47bd901538bc5e3a9c4 /libgnomecanvas | |
parent | 30fe010cffa6f290170147ea9a8b617d04fab39d (diff) | |
download | gsoc2013-evolution-578214584caa7805edca09b27e2306dc31d80fb6.tar gsoc2013-evolution-578214584caa7805edca09b27e2306dc31d80fb6.tar.gz gsoc2013-evolution-578214584caa7805edca09b27e2306dc31d80fb6.tar.bz2 gsoc2013-evolution-578214584caa7805edca09b27e2306dc31d80fb6.tar.lz gsoc2013-evolution-578214584caa7805edca09b27e2306dc31d80fb6.tar.xz gsoc2013-evolution-578214584caa7805edca09b27e2306dc31d80fb6.tar.zst gsoc2013-evolution-578214584caa7805edca09b27e2306dc31d80fb6.zip |
Whitespace and coding style cleanups.
Diffstat (limited to 'libgnomecanvas')
-rw-r--r-- | libgnomecanvas/gnome-canvas-rich-text.c | 4 | ||||
-rw-r--r-- | libgnomecanvas/gnome-canvas-text.c | 3 | ||||
-rw-r--r-- | libgnomecanvas/gnome-canvas.c | 7 |
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, |