comparison src/frame-x.c @ 3463:3aab51033467

[xemacs-hg @ 2006-06-19 18:49:21 by james] Quiet GCC 4 sentinel warnings. <m3mzc9oubl.fsf@jerrypc.cs.usu.edu>
author james
date Mon, 19 Jun 2006 18:49:23 +0000
parents 168e8d8a55be
children 3ef0aaf3dc34
comparison
equal deleted inserted replaced
3462:6c7605dfcf07 3463:3aab51033467
781 Qxt_widget_arg_encoding); 781 Qxt_widget_arg_encoding);
782 XtVaSetValues (w, XtVaTypedArg, extprop, 782 XtVaSetValues (w, XtVaTypedArg, extprop,
783 /* !!#### Verify this + 1 and document 783 /* !!#### Verify this + 1 and document
784 as zero-termination */ 784 as zero-termination */
785 XtRString, extval, extvallen + 1, 785 XtRString, extval, extvallen + 1,
786 (XtArgVal) NULL); 786 NULL);
787 } 787 }
788 else 788 else
789 XtVaSetValues (w, XtVaTypedArg, extprop, XtRInt, 789 XtVaSetValues (w, XtVaTypedArg, extprop, XtRInt,
790 XINT (val), sizeof (int), 790 XINT (val), sizeof (int),
791 (XtArgVal) NULL); 791 NULL);
792 } 792 }
793 else if (SYMBOLP (prop)) 793 else if (SYMBOLP (prop))
794 { 794 {
795 Lisp_Object str = Fget (prop, Qx_resource_name, Qnil); 795 Lisp_Object str = Fget (prop, Qx_resource_name, Qnil);
796 int int_p = !NILP (Fget (prop, Qintegerp, Qnil)); 796 int int_p = !NILP (Fget (prop, Qintegerp, Qnil));
885 /* XtN... */ 885 /* XtN... */
886 strext, 886 strext,
887 /* !!#### Verify this + 1 and document 887 /* !!#### Verify this + 1 and document
888 as zero-termination */ 888 as zero-termination */
889 XtRString, extval, extvallen + 1, 889 XtRString, extval, extvallen + 1,
890 (XtArgVal) NULL); 890 NULL);
891 } 891 }
892 892
893 #ifdef HAVE_SCROLLBARS 893 #ifdef HAVE_SCROLLBARS
894 if (!qxestrcmp_ascii (XSTRING_DATA (str), "scrollBarWidth") 894 if (!qxestrcmp_ascii (XSTRING_DATA (str), "scrollBarWidth")
895 || !qxestrcmp_ascii (XSTRING_DATA (str), "scrollBarHeight")) 895 || !qxestrcmp_ascii (XSTRING_DATA (str), "scrollBarHeight"))