antiright-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Antiright-devel] antiright/src/arshell color.c


From: Jeffrey Bedard
Subject: [Antiright-devel] antiright/src/arshell color.c
Date: Tue, 21 Dec 2004 21:37:54 -0500

CVSROOT:        /cvsroot/antiright
Module name:    antiright
Branch:         
Changes by:     Jeffrey Bedard <address@hidden> 04/12/22 02:25:45

Modified files:
        src/arshell    : color.c 

Log message:
        antiright.display is used rather than a call to XtDisplay().

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/antiright/antiright/src/arshell/color.c.diff?tr1=1.5&tr2=1.6&r1=text&r2=text

Patches:
Index: antiright/src/arshell/color.c
diff -u antiright/src/arshell/color.c:1.5 antiright/src/arshell/color.c:1.6
--- antiright/src/arshell/color.c:1.5   Sat Nov  6 22:52:12 2004
+++ antiright/src/arshell/color.c       Wed Dec 22 02:25:45 2004
@@ -40,15 +40,8 @@
   /* These options are set often enough, so set them in this generic
      function.  */
   color->flags=DoRed|DoGreen|DoBlue;
-  
-  colormap=DefaultColormap(XtDisplay(arcolor_preview_widget), 
-                          DefaultScreen
-                          (XtDisplay(arcolor_preview_widget)));
-  
-  
-  XAllocColor(XtDisplay(arcolor_preview_widget),
-             colormap,
-             color);
+  colormap=DefaultColormap(antiright.display, antiright.screen);
+  XAllocColor(antiright.display,colormap,color);
 }
 
 void




reply via email to

[Prev in Thread] Current Thread [Next in Thread]