From: Joakim Verona Date: Thu, 22 Oct 2015 21:16:51 +0000 (+0200) Subject: upstream merge X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2f7b194667e998dd2bf330d74c7d35c8bdb7c2ae;p=emacs.git upstream merge --- 2f7b194667e998dd2bf330d74c7d35c8bdb7c2ae diff --cc src/emacs.c index 85a5a8243fb,b4052b851d7..825b3c17e76 --- a/src/emacs.c +++ b/src/emacs.c @@@ -65,10 -66,6 +66,9 @@@ along with GNU Emacs. If not, see + struct frame; + G_BEGIN_DECLS +struct frame; + +#define EMACS_TYPE_FIXED (emacs_fixed_get_type ()) +#define EMACS_FIXED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EMACS_TYPE_FIXED, EmacsFixed)) +#define EMACS_FIXED_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EMACS_TYPE_FIXED, EmacsFixedClass)) +#define EMACS_IS_FIXED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EMACS_TYPE_FIXED)) +#define EMACS_IS_FIXED_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EMACS_TYPE_FIXED)) +#define EMACS_FIXED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EMACS_TYPE_FIXED, EmacsFixedClass)) + +//typedef struct _EmacsFixed EmacsFixed; +typedef struct _EmacsFixedPrivate EmacsFixedPrivate; +typedef struct _EmacsFixedClass EmacsFixedClass; + +struct _EmacsFixed +{ + GtkFixed container; + + /*< private >*/ + EmacsFixedPrivate *priv; +}; + + +struct _EmacsFixedClass +{ + GtkFixedClass parent_class; +}; + extern GtkWidget *emacs_fixed_new (struct frame *f); +extern GType emacs_fixed_get_type (void); G_END_DECLS diff --cc src/print.c index 21402fc4bea,6f868ceff84..2443bbaf928 --- a/src/print.c +++ b/src/print.c @@@ -24,24 -24,15 +24,19 @@@ along with GNU Emacs. If not, see #include #include diff --cc src/xterm.c index d32ca0f3f3a,691ad05efe1..000e1f84b36 --- a/src/xterm.c +++ b/src/xterm.c @@@ -58,17 -57,11 +57,14 @@@ along with GNU Emacs. If not, see #include #include - /* Caused redefinition of DBL_DIG on Netbsd; seems not to be needed. */ - /* #include */ - - #include "charset.h" #include "character.h" #include "coding.h" + #include "composite.h" #include "frame.h" #include "dispextern.h" +#ifdef HAVE_XWIDGETS +# include "xwidget.h" +#endif #include "fontset.h" #include "termhooks.h" #include "termopts.h"