64 lines
2.1 KiB
Diff
64 lines
2.1 KiB
Diff
diff -aruN ncbi.orig/vibrant/vibslate.c ncbi/vibrant/vibslate.c
|
|
--- ncbi.orig/vibrant/vibslate.c 2008-04-29 15:43:50.000000000 +0200
|
|
+++ ncbi/vibrant/vibslate.c 2012-09-06 19:55:08.912262381 +0200
|
|
@@ -1502,9 +1502,9 @@
|
|
Nlm_YOffset = r.top;
|
|
Nlm_UseWindow( w );
|
|
Nlm_currentXWindow = XtWindow (h);
|
|
- XtVaGetValues (h, XmNbackground, &color, 0);
|
|
+ XtVaGetValues (h, XmNbackground, &color, NULL);
|
|
Nlm_XbackColor = color;
|
|
- XtVaGetValues (h, XmNforeground, &color, 0);
|
|
+ XtVaGetValues (h, XmNforeground, &color, NULL);
|
|
Nlm_XforeColor = color;
|
|
}
|
|
#endif
|
|
@@ -1531,9 +1531,9 @@
|
|
Nlm_YOffset = r.top;
|
|
Nlm_UseWindow( w );
|
|
Nlm_currentXWindow = XtWindow (h);
|
|
- XtVaGetValues (h, XmNbackground, &color, 0);
|
|
+ XtVaGetValues (h, XmNbackground, &color, NULL);
|
|
Nlm_XbackColor = color;
|
|
- XtVaGetValues (h, XmNforeground, &color, 0);
|
|
+ XtVaGetValues (h, XmNforeground, &color, NULL);
|
|
Nlm_XforeColor = color;
|
|
#endif
|
|
}
|
|
@@ -2144,9 +2144,9 @@
|
|
Nlm_GetRect ((Nlm_GraphiC) s, &r);
|
|
Nlm_XOffset = r.left;
|
|
Nlm_YOffset = r.top;
|
|
- XtVaGetValues (w, XmNbackground, &color, 0);
|
|
+ XtVaGetValues (w, XmNbackground, &color, NULL);
|
|
Nlm_XbackColor = color;
|
|
- XtVaGetValues (w, XmNforeground, &color, 0);
|
|
+ XtVaGetValues (w, XmNforeground, &color, NULL);
|
|
Nlm_XforeColor = color;
|
|
pt.x = (Nlm_Int2) event->x + Nlm_XOffset;
|
|
pt.y = (Nlm_Int2) event->y + Nlm_YOffset;
|
|
@@ -2300,9 +2300,9 @@
|
|
|
|
{{
|
|
Pixel color;
|
|
- XtVaGetValues(w, XmNbackground, &color, 0);
|
|
+ XtVaGetValues(w, XmNbackground, &color, NULL);
|
|
Nlm_XbackColor = color;
|
|
- XtVaGetValues(w, XmNforeground, &color, 0);
|
|
+ XtVaGetValues(w, XmNforeground, &color, NULL);
|
|
Nlm_XforeColor = color;
|
|
}}
|
|
|
|
@@ -2346,9 +2346,9 @@
|
|
Nlm_GetRect ((Nlm_GraphiC) s, &r);
|
|
Nlm_XOffset = r.left;
|
|
Nlm_YOffset = r.top;
|
|
- XtVaGetValues (w, XmNbackground, &color, 0);
|
|
+ XtVaGetValues (w, XmNbackground, &color, NULL);
|
|
Nlm_XbackColor = color;
|
|
- XtVaGetValues (w, XmNforeground, &color, 0);
|
|
+ XtVaGetValues (w, XmNforeground, &color, NULL);
|
|
Nlm_XforeColor = color;
|
|
rgn1 = Nlm_CreateRgn ();
|
|
event = (*(cbs->event));
|