diff options
| author | Paul Eggert | 2017-06-20 08:48:14 -0700 |
|---|---|---|
| committer | Paul Eggert | 2017-06-20 09:01:43 -0700 |
| commit | fb45f7075afa033de27e358739cbda0107af12b2 (patch) | |
| tree | 010d44c8382fd68eb13ae680d96a3cfa83aba25a /src/widget.h | |
| parent | 6fcbbc393eced8350f6d4679d8070bfc48244aab (diff) | |
| download | emacs-fb45f7075afa033de27e358739cbda0107af12b2.tar.gz emacs-fb45f7075afa033de27e358739cbda0107af12b2.zip | |
Fix crash when built by GNU Gold linker on x86
Problem reported by Andrés Musetti (Bug#27248).
* src/widget.c (emacsFrameClassRec): Do not initialize superclass here.
(emacsFrameClass): Now a function (which initializes the
superclass) instead of a variable. All uses changed.
Diffstat (limited to 'src/widget.h')
| -rw-r--r-- | src/widget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget.h b/src/widget.h index 2c5fb61df2f..97dd6ab61de 100644 --- a/src/widget.h +++ b/src/widget.h | |||
| @@ -90,7 +90,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 90 | typedef struct _EmacsFrameRec *EmacsFrame; | 90 | typedef struct _EmacsFrameRec *EmacsFrame; |
| 91 | typedef struct _EmacsFrameClassRec *EmacsFrameClass; | 91 | typedef struct _EmacsFrameClassRec *EmacsFrameClass; |
| 92 | 92 | ||
| 93 | extern WidgetClass emacsFrameClass; | 93 | extern WidgetClass emacsFrameClass (void); |
| 94 | 94 | ||
| 95 | extern struct _DisplayContext *display_context; | 95 | extern struct _DisplayContext *display_context; |
| 96 | 96 | ||