aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2013-09-06 17:20:56 -0700
committerPaul Eggert2013-09-06 17:20:56 -0700
commit4b73fc7347e15f329a9a866f90e4241e064ec66d (patch)
tree18db2fdc91a6ae00f11cee6da51a5714fa6f78c4 /src
parent67982e2b74ad72987459a6995f34161053a1dbfb (diff)
downloademacs-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/ChangeLog6
-rw-r--r--src/gfilenotify.c2
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 @@
12013-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
12013-09-06 Dmitry Antipov <dmantipov@yandex.ru> 72013-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'. */)
249void 249void
250globals_of_gfilenotify (void) 250globals_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