summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Mailbox.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/Mailbox.c b/Mailbox.c
index 02f28f0..209ba60 100644
--- a/Mailbox.c
+++ b/Mailbox.c
@@ -230,14 +230,14 @@ WidgetClass mailboxWidgetClass = (WidgetClass) &mailboxClassRec;
static GC get_mailbox_gc (MailboxWidget w)
{
- XtGCMask valuemask;
- XGCValues xgcv;
-
- valuemask = GCForeground | GCBackground | GCFunction | GCGraphicsExposures;
- xgcv.foreground = w->mailbox.foreground_pixel;
- xgcv.background = w->core.background_pixel;
- xgcv.function = GXcopy;
- xgcv.graphics_exposures = False; /* this is Bool, not Boolean */
+ XtGCMask valuemask
+ = GCForeground | GCBackground | GCFunction | GCGraphicsExposures;
+ XGCValues xgcv = {
+ .foreground = w->mailbox.foreground_pixel,
+ .background = w->core.background_pixel,
+ .function = GXcopy,
+ .graphics_exposures = False /* this is Bool, not Boolean */
+ };
return (XtGetGC ((Widget) w, valuemask, &xgcv));
}