Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Unified Diff: trunk/src/net/tools/net_watcher/net_watcher.cc

Issue 16404004: Revert 204313 "net_watcher does not build in Ubuntu 13.04" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/net/tools/net_watcher/net_watcher.cc
===================================================================
--- trunk/src/net/tools/net_watcher/net_watcher.cc (revision 204336)
+++ trunk/src/net/tools/net_watcher/net_watcher.cc (working copy)
@@ -127,13 +127,6 @@
} // namespace
-// From glib version 2.36 onwards, g_type_init is implicitly called and it is
-// deprecated.
-#if (defined(OS_LINUX) || defined(OS_OPENBSD)) && !defined(OS_CHROMEOS)
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
-#endif
-
int main(int argc, char* argv[]) {
#if defined(OS_MACOSX)
base::mac::ScopedNSAutoreleasePool pool;
@@ -202,7 +195,3 @@
return 0;
}
-
-#if (defined(OS_LINUX) || defined(OS_OPENBSD)) && !defined(OS_CHROMEOS)
-#pragma GCC diagnostic pop
-#endif
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698