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

Unified Diff: remoting/host/it2me/it2me_confirmation_dialog_linux.cc

Issue 2741943004: Gtk3: Silence deprecation warnings in //remoting (Closed)
Patch Set: Created 3 years, 9 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 | « remoting/host/disconnect_window_linux.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/it2me/it2me_confirmation_dialog_linux.cc
diff --git a/remoting/host/it2me/it2me_confirmation_dialog_linux.cc b/remoting/host/it2me/it2me_confirmation_dialog_linux.cc
index a86a5b0ba956ccc1e1013f74d44da24164400817..ceb8c11571b1b3c1c2b56cf96574a4aa657fc7ac 100644
--- a/remoting/host/it2me/it2me_confirmation_dialog_linux.cc
+++ b/remoting/host/it2me/it2me_confirmation_dialog_linux.cc
@@ -124,7 +124,9 @@ void It2MeConfirmationDialogLinux::CreateWindow(
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);
« no previous file with comments | « remoting/host/disconnect_window_linux.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698