[cairo-commit] goocanvas/src goocanvasstyle.c, 1.2, 1.3 goocanvasstyle.h, 1.2, 1.3

Damon Chaplin commit at pdx.freedesktop.org
Sun Feb 4 15:10:19 PST 2007


Committed by: damon

Update of /cvs/cairo/goocanvas/src
In directory kemper:/tmp/cvs-serv8661/src

Modified Files:
	goocanvasstyle.c goocanvasstyle.h 
Log Message:
2007-02-04  Damon Chaplin  <damon at gnome.org>

	* src/goocanvasstyle.[hc]: extern the GQuarks in the header and define
	them in the .c file.



Index: goocanvasstyle.c
===================================================================
RCS file: /cvs/cairo/goocanvas/src/goocanvasstyle.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- goocanvasstyle.c	4 Feb 2007 18:02:30 -0000	1.2
+++ goocanvasstyle.c	4 Feb 2007 23:10:14 -0000	1.3
@@ -26,6 +26,19 @@
 #include "goocanvasstyle.h"
 #include "goocanvasutils.h"
 
+/* GQuarks for the basic properties. */
+GQuark goo_canvas_style_stroke_pattern_id;
+GQuark goo_canvas_style_fill_pattern_id;
+GQuark goo_canvas_style_fill_rule_id;
+GQuark goo_canvas_style_operator_id;
+GQuark goo_canvas_style_antialias_id;
+GQuark goo_canvas_style_line_width_id;
+GQuark goo_canvas_style_line_cap_id;
+GQuark goo_canvas_style_line_join_id;
+GQuark goo_canvas_style_line_join_miter_limit_id;
+GQuark goo_canvas_style_line_dash_id;
+GQuark goo_canvas_style_font_desc_id;
+
 static void goo_canvas_style_finalize (GObject *object);
 
 G_DEFINE_TYPE (GooCanvasStyle, goo_canvas_style, G_TYPE_OBJECT)

Index: goocanvasstyle.h
===================================================================
RCS file: /cvs/cairo/goocanvas/src/goocanvasstyle.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- goocanvasstyle.h	4 Feb 2007 18:02:30 -0000	1.2
+++ goocanvasstyle.h	4 Feb 2007 23:10:14 -0000	1.3
@@ -13,17 +13,17 @@
 
 
 /* GQuarks for the basic properties. */
-GQuark goo_canvas_style_stroke_pattern_id;
-GQuark goo_canvas_style_fill_pattern_id;
-GQuark goo_canvas_style_fill_rule_id;
-GQuark goo_canvas_style_operator_id;
-GQuark goo_canvas_style_antialias_id;
-GQuark goo_canvas_style_line_width_id;
-GQuark goo_canvas_style_line_cap_id;
-GQuark goo_canvas_style_line_join_id;
-GQuark goo_canvas_style_line_join_miter_limit_id;
-GQuark goo_canvas_style_line_dash_id;
-GQuark goo_canvas_style_font_desc_id;
+extern GQuark goo_canvas_style_stroke_pattern_id;
+extern GQuark goo_canvas_style_fill_pattern_id;
+extern GQuark goo_canvas_style_fill_rule_id;
+extern GQuark goo_canvas_style_operator_id;
+extern GQuark goo_canvas_style_antialias_id;
+extern GQuark goo_canvas_style_line_width_id;
+extern GQuark goo_canvas_style_line_cap_id;
+extern GQuark goo_canvas_style_line_join_id;
+extern GQuark goo_canvas_style_line_join_miter_limit_id;
+extern GQuark goo_canvas_style_line_dash_id;
+extern GQuark goo_canvas_style_font_desc_id;
 
 
 /**



More information about the cairo-commit mailing list