[Commit] cairo-gtk-engine/src cge-draw.c, 1.4, 1.5 cge-style.c, 1.2, 1.3

Julien Boulnois commit at keithp.com
Sun Aug 3 08:12:50 PDT 2003


Committed by: jboulnois

Update of /local/src/CVS/cairo-gtk-engine/src
In directory home.keithp.com:/tmp/cvs-serv24032/src

Modified Files:
	cge-draw.c cge-style.c 
Log Message:
bugfixes


Index: cge-draw.c
===================================================================
RCS file: /local/src/CVS/cairo-gtk-engine/src/cge-draw.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- cge-draw.c	3 Aug 2003 13:59:46 -0000	1.4
+++ cge-draw.c	3 Aug 2003 14:12:48 -0000	1.5
@@ -318,7 +318,7 @@
   for(i=1;i<MAX_STYLES;i++)       
     {
       cge_style *cstyle=&THEME_DATA(style)->styles[i];
-      if(cstyle->detail!=NULL)     
+      if(cstyle->detail!=NULL && detail!=NULL)     
       {
 	if(g_ascii_strncasecmp(cstyle->detail, detail, strlen(detail))==0)  
 	  {

Index: cge-style.c
===================================================================
RCS file: /local/src/CVS/cairo-gtk-engine/src/cge-style.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- cge-style.c	2 Aug 2003 23:28:37 -0000	1.2
+++ cge-style.c	3 Aug 2003 14:12:48 -0000	1.3
@@ -555,7 +555,7 @@
 
   g_scanner_get_next_token(scanner);
 
-
+  cge_style->styles[0].detail="all";
 
   SET_THEME_DATA(rc_style, cge_style);
 




More information about the Commit mailing list