diff options
| author | Paul Eggert | 2013-09-06 17:20:56 -0700 |
|---|---|---|
| committer | Paul Eggert | 2013-09-06 17:20:56 -0700 |
| commit | 4b73fc7347e15f329a9a866f90e4241e064ec66d (patch) | |
| tree | 18db2fdc91a6ae00f11cee6da51a5714fa6f78c4 /src | |
| parent | 67982e2b74ad72987459a6995f34161053a1dbfb (diff) | |
| download | emacs-4b73fc7347e15f329a9a866f90e4241e064ec66d.tar.gz emacs-4b73fc7347e15f329a9a866f90e4241e064ec66d.zip | |
Port --without-x --enable-gcc-warnings to Fedora 19.
* configure.ac (WERROR_CFLAGS): Omit redundant use of
-Wmissing-field-initializers, -Wswitch, -Wtype-limits,
-Wunused-parameter. If there is no window system, also omit
-Wsuggest-attribute=const and -Wsuggest-attribute=noreturn; this
is needed for Fedora 19.
* src/gfilenotify.c (globals_of_gfilenotify):
Call g_type_init only if using an older glib version that needs it.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/gfilenotify.c | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 7f41abc46bb..7f4c3f731f4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2013-09-07 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Port --without-x --enable-gcc-warnings to Fedora 19. | ||
| 4 | * gfilenotify.c (globals_of_gfilenotify): | ||
| 5 | Call g_type_init only if using an older glib version that needs it. | ||
| 6 | |||
| 1 | 2013-09-06 Dmitry Antipov <dmantipov@yandex.ru> | 7 | 2013-09-06 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 8 | ||
| 3 | * lisp.h (last_glyphless_glyph_frame, last_glyphless_glyph_face_id) | 9 | * lisp.h (last_glyphless_glyph_frame, last_glyphless_glyph_face_id) |
diff --git a/src/gfilenotify.c b/src/gfilenotify.c index 8f13c72df81..7415c3a2413 100644 --- a/src/gfilenotify.c +++ b/src/gfilenotify.c | |||
| @@ -249,7 +249,9 @@ WATCH-DESCRIPTOR should be an object returned by `gfile-add-watch'. */) | |||
| 249 | void | 249 | void |
| 250 | globals_of_gfilenotify (void) | 250 | globals_of_gfilenotify (void) |
| 251 | { | 251 | { |
| 252 | #if ! GLIB_CHECK_VERSION (2, 36, 0) | ||
| 252 | g_type_init (); | 253 | g_type_init (); |
| 254 | #endif | ||
| 253 | watch_list = Qnil; | 255 | watch_list = Qnil; |
| 254 | } | 256 | } |
| 255 | 257 | ||