Mercurial > hg > xemacs-beta
view src/gtk-xemacs.h @ 831:5d09ddada9ae
[xemacs-hg @ 2002-05-09 07:15:20 by ben]
fix two bugs noted by Steve
doprnt.c: Use make_int() not make_char() when error about bad charval,
or abort will occur.
extents.c: Loop over children, not ourself -- avoid infinite loop.
lisp-disunion.h, lisp-union.h: Rename make_char() to make_char_1 for error-checking purposes.
lread.c: Syntax error if escape is outside of ISO-8859-1 range.
Remove hopelessly broken (and unworkable) FSF_KEYS code.
mule-coding.c, search.c: Spacing changes.
text.h: New make_char() -- verify that the char value is legal.
author | ben |
---|---|
date | Thu, 09 May 2002 07:16:38 +0000 |
parents | 0784d089fdc9 |
children | 543769b89fed |
line wrap: on
line source
/* gtk-xemacs.h ** ** Description: A widget to encapsulate a XEmacs 'text widget' ** ** Created by: William M. Perry ** Copyright (c) 2000 William M. Perry <wmperry@gnu.org> ** */ #ifndef __GTK_XEMACS_H__ #define __GTK_XEMACS_H__ #include <config.h> #include "frame.h" #include <gdk/gdk.h> #include <gtk/gtkfixed.h> #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ #define GTK_XEMACS(obj) GTK_CHECK_CAST (obj, gtk_xemacs_get_type (), GtkXEmacs) #define GTK_XEMACS_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_xemacs_get_type (), GtkXEmacsClass) #define GTK_IS_XEMACS(obj) GTK_CHECK_TYPE (obj, gtk_xemacs_get_type ()) #define GTK_XEMACS_FRAME(obj) GTK_XEMACS (obj)->f typedef struct _GtkXEmacs GtkXEmacs; typedef struct _GtkXEmacsClass GtkXEmacsClass; struct _GtkXEmacs { GtkFixed fixed; struct frame *f; }; struct _GtkXEmacsClass { GtkFixedClass parent_class; }; guint gtk_xemacs_get_type (void); GtkWidget *gtk_xemacs_new (struct frame *f); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __GTK_XEMACS_H__ */