Gtk3: Silence deprecation warnings in //remoting

This CL silences some deprecation warnings of Gtk symbols that were
deprecated in version 3.14.  This is to support the switch to the
Jessie sysroot (https://codereview.chromium.org/2361223002/), which
includes 3.14 headers.  Ignoring these warnings is safe because the
symbols will be included as long as Gtk3 is supported (but we WILL
need to change this if/when we support Gtk4).

[email protected]

Review-Url: https://codereview.chromium.org/2741943004
Cr-Commit-Position: refs/heads/master@{#456270}
diff --git a/remoting/host/it2me/it2me_confirmation_dialog_linux.cc b/remoting/host/it2me/it2me_confirmation_dialog_linux.cc
index a86a5b0..ceb8c11 100644
--- a/remoting/host/it2me/it2me_confirmation_dialog_linux.cc
+++ b/remoting/host/it2me/it2me_confirmation_dialog_linux.cc
@@ -124,7 +124,9 @@
           remote_user_email);
   GtkWidget* text_label = gtk_label_new(base::UTF16ToUTF8(dialog_text).c_str());
   gtk_label_set_line_wrap(GTK_LABEL(text_label), true);
+  G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
   gtk_misc_set_padding(GTK_MISC(text_label), 12, 12);
+  G_GNUC_END_IGNORE_DEPRECATIONS;
 
   gtk_container_add(GTK_CONTAINER(content_area), text_label);
   gtk_widget_show_all(content_area);