Commit 513d0c9b authored by Martin Nordholts's avatar Martin Nordholts Committed by Martin Nordholts

Use a define for border width.

2008-08-24  Martin Nordholts  <martinn@svn.gnome.org>

	* app/widgets/gimpnavigationview.c
	(gimp_navigation_view_draw_marker): Use a define for border width.

svn path=/trunk/; revision=26738
parent fa3b6cdb
2008-08-24 Martin Nordholts <martinn@svn.gnome.org>
* app/widgets/gimpnavigationview.c
(gimp_navigation_view_draw_marker): Use a define for border width.
2008-08-24 Martin Nordholts <martinn@svn.gnome.org>
* app/widgets/gimpnavigationview.c
......
......@@ -38,8 +38,7 @@
#include "gimpviewrenderer.h"
#define OUTER_BORDER_PEN_WIDTH 2
#define INNER_BORDER_PEN_WIDTH 1
#define BORDER_WIDTH 2
enum
......@@ -510,7 +509,7 @@ gimp_navigation_view_draw_marker (GimpNavigationView *nav_view,
nav_view->p_width, nav_view->p_height);
cairo_set_source_rgb (cr, 1, 1, 1);
cairo_set_line_width (cr, 2);
cairo_set_line_width (cr, BORDER_WIDTH);
cairo_stroke (cr);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment