diff options
author | Murray Cumming <murrayc@murrayc.com> | 2011-10-26 12:16:51 +0200 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2011-10-26 12:16:51 +0200 |
commit | 159805cd380a2f1e2e1e51b880bf1104f0259333 (patch) | |
tree | cb206e46fcda6da17a35462f590110dd460b5b62 /gio/src/file.hg | |
parent | c58f354df0f604854d08268e6e2b51cd8a421147 (diff) | |
download | glibmm-159805cd380a2f1e2e1e51b880bf1104f0259333.tar.gz |
Avoid some deprecation compiler warnings.
* gio/src/file.hg:
* gio/src/volumemonitor.hg:
* glib/src/date.hg: Add GLIB_DISABLE_DEPRECATION_WARNINGS to
SECTION_CC_PRE_INCLUDES to avoid compiler warnings with the new glib
deprecation system.
* glib/src/value_basictypes.cc.m4: undef them here too, because
g_value_set_char() and g_value_get_char() are deprecated.
Diffstat (limited to 'gio/src/file.hg')
-rw-r--r-- | gio/src/file.hg | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gio/src/file.hg b/gio/src/file.hg index 0000e4ae..9256739f 100644 --- a/gio/src/file.hg +++ b/gio/src/file.hg @@ -19,6 +19,7 @@ #m4 _PUSH(SECTION_CC_PRE_INCLUDES) #undef G_DISABLE_DEPRECATED +#define GLIB_DISABLE_DEPRECATION_WARNINGS 1 #m4 _POP() #include <glibmm/error.h> |