|
|
7df9b8 |
diff -up libXaw3d-1.6.1/src/AsciiSink.c.fontset libXaw3d-1.6.1/src/AsciiSink.c
|
|
|
7df9b8 |
--- libXaw3d-1.6.1/src/AsciiSink.c.fontset 2012-02-01 12:24:00.000000000 -0700
|
|
|
7df9b8 |
+++ libXaw3d-1.6.1/src/AsciiSink.c 2012-02-25 14:52:46.802779081 -0700
|
|
|
7df9b8 |
@@ -513,6 +513,8 @@ Initialize(Widget request, Widget new, A
|
|
|
7df9b8 |
{
|
|
|
7df9b8 |
AsciiSinkObject sink = (AsciiSinkObject) new;
|
|
|
7df9b8 |
|
|
|
7df9b8 |
+ if (!sink->ascii_sink.font) XtError("Aborting: no font found\n");
|
|
|
7df9b8 |
+
|
|
|
7df9b8 |
GetGC(sink);
|
|
|
7df9b8 |
|
|
|
7df9b8 |
sink->ascii_sink.insertCursorOn= CreateInsertCursor(XtScreenOfObject(new));
|
|
|
7df9b8 |
diff -up libXaw3d-1.6.1/src/Command.c.fontset libXaw3d-1.6.1/src/Command.c
|
|
|
7df9b8 |
--- libXaw3d-1.6.1/src/Command.c.fontset 2011-09-19 15:42:36.000000000 -0600
|
|
|
7df9b8 |
+++ libXaw3d-1.6.1/src/Command.c 2012-02-25 14:51:26.075372823 -0700
|
|
|
7df9b8 |
@@ -218,6 +218,8 @@ Initialize(Widget request, Widget new, A
|
|
|
7df9b8 |
CommandWidget cbw = (CommandWidget) new;
|
|
|
7df9b8 |
int shape_event_base, shape_error_base;
|
|
|
7df9b8 |
|
|
|
7df9b8 |
+ if (!cbw->label.font) XtError("Aborting: no font found\n");
|
|
|
7df9b8 |
+
|
|
|
7df9b8 |
if (cbw->command.shape_style != XawShapeRectangle
|
|
|
7df9b8 |
&& !XShapeQueryExtension(XtDisplay(new), &shape_event_base,
|
|
|
7df9b8 |
&shape_error_base))
|
|
|
7df9b8 |
diff -up libXaw3d-1.6.1/src/List.c.fontset libXaw3d-1.6.1/src/List.c
|
|
|
7df9b8 |
--- libXaw3d-1.6.1/src/List.c.fontset 2011-10-09 12:01:20.000000000 -0600
|
|
|
7df9b8 |
+++ libXaw3d-1.6.1/src/List.c 2012-02-25 14:53:16.327465260 -0700
|
|
|
7df9b8 |
@@ -362,6 +362,8 @@ Initialize(Widget junk, Widget new, ArgL
|
|
|
7df9b8 |
{
|
|
|
7df9b8 |
ListWidget lw = (ListWidget) new;
|
|
|
7df9b8 |
|
|
|
7df9b8 |
+ if (!lw->list.font) XtError("Aborting: no font found\n");
|
|
|
7df9b8 |
+
|
|
|
7df9b8 |
/*
|
|
|
7df9b8 |
* Initialize all private resources.
|
|
|
7df9b8 |
*/
|
|
|
7df9b8 |
diff -up libXaw3d-1.6.1/src/SmeBSB.c.fontset libXaw3d-1.6.1/src/SmeBSB.c
|
|
|
7df9b8 |
--- libXaw3d-1.6.1/src/SmeBSB.c.fontset 2011-09-19 15:42:36.000000000 -0600
|
|
|
7df9b8 |
+++ libXaw3d-1.6.1/src/SmeBSB.c 2012-02-25 14:50:19.056358107 -0700
|
|
|
7df9b8 |
@@ -207,6 +207,8 @@ Initialize(Widget request, Widget new, A
|
|
|
7df9b8 |
else
|
|
|
7df9b8 |
entry->sme_bsb.label = XtNewString( entry->sme_bsb.label );
|
|
|
7df9b8 |
|
|
|
7df9b8 |
+ if (!entry->sme_bsb.font) XtError("Aborting: no font found\n");
|
|
|
7df9b8 |
+
|
|
|
7df9b8 |
CreateGCs(new);
|
|
|
7df9b8 |
|
|
|
7df9b8 |
GetBitmapInfo(new, TRUE); /* Left Bitmap Info */
|
|
|
7df9b8 |
diff -up libXaw3d-1.6.1/src/Tip.c.fontset libXaw3d-1.6.1/src/Tip.c
|
|
|
7df9b8 |
--- libXaw3d-1.6.1/src/Tip.c.fontset 2012-02-15 12:10:38.000000000 -0700
|
|
|
7df9b8 |
+++ libXaw3d-1.6.1/src/Tip.c 2012-02-25 14:50:19.058358017 -0700
|
|
|
7df9b8 |
@@ -248,6 +248,8 @@ XawTipInitialize(Widget req, Widget w, A
|
|
|
7df9b8 |
TipWidget tip = (TipWidget)w;
|
|
|
7df9b8 |
XGCValues values;
|
|
|
7df9b8 |
|
|
|
7df9b8 |
+ if (!tip->tip.font) XtError("Aborting: no font found\n");
|
|
|
7df9b8 |
+
|
|
|
7df9b8 |
tip->tip.timer = 0;
|
|
|
7df9b8 |
|
|
|
7df9b8 |
values.foreground = tip->tip.foreground;
|