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

Unified Diff: chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc

Issue 67923002: Fixes for -Wunused-function on Linux, Android and ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase for realz Created 7 years, 1 month 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 | « chrome/browser/ui/gtk/first_run_dialog.cc ('k') | chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc
diff --git a/chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc b/chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc
index a4b8da62eb35e1bb9b10cdafd367d3938c35141b..1162d216231b52b3c23138d8226d921951ea27fd 100644
--- a/chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc
+++ b/chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc
@@ -39,13 +39,6 @@ void SumChildrenWidthRequisition(GtkWidget* child, gpointer userdata) {
}
}
-void ShowInvisibleChildren(GtkWidget* child, gpointer userdata) {
- if (!gtk_widget_get_visible(child)) {
- gtk_widget_show(child);
- ++(*reinterpret_cast<int*>(userdata));
- }
-}
-
void ChildSizeAllocate(GtkWidget* child, gpointer userdata) {
if (!gtk_widget_get_visible(child))
return;
« no previous file with comments | « chrome/browser/ui/gtk/first_run_dialog.cc ('k') | chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698