summaryrefslogtreecommitdiff
path: root/onlineupdate/source/update/updater/progressui_gtk.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'onlineupdate/source/update/updater/progressui_gtk.cxx')
-rw-r--r--onlineupdate/source/update/updater/progressui_gtk.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/onlineupdate/source/update/updater/progressui_gtk.cxx b/onlineupdate/source/update/updater/progressui_gtk.cxx
index 47d27ea02c17..7c3bcfcd8b2d 100644
--- a/onlineupdate/source/update/updater/progressui_gtk.cxx
+++ b/onlineupdate/source/update/updater/progressui_gtk.cxx
@@ -14,6 +14,11 @@
#include <string.h>
#include "progressui_gtk_icon.h"
+#ifdef __GNUC__
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+#endif
+
#define TIMER_INTERVAL 100
static float sProgressVal; // between 0 and 100
@@ -133,4 +138,9 @@ UpdateProgressUI(float progress)
{
sProgressVal = progress; // 32-bit writes are atomic
}
+
+#ifdef __GNUC__
+#pragma GCC diagnostic pop
+#endif
+
#endif // defined(UNIX) || defined(MACOSX)