| Index: chrome/browser/ui/libgtk2ui/gtk2_util.cc
|
| diff --git a/chrome/browser/ui/libgtk2ui/gtk2_util.cc b/chrome/browser/ui/libgtk2ui/gtk2_util.cc
|
| index 8bac9cb3dc39151dad6ab40234337680cb4f2ad0..ce2d8f72912b5d50d2cd7372a8241d16ee4a1a9a 100644
|
| --- a/chrome/browser/ui/libgtk2ui/gtk2_util.cc
|
| +++ b/chrome/browser/ui/libgtk2ui/gtk2_util.cc
|
| @@ -71,11 +71,6 @@ std::string GetDesktopName(base::Environment* env) {
|
| #endif
|
| }
|
|
|
| -void SetAlwaysShowImage(GtkWidget* image_menu_item) {
|
| - gtk_image_menu_item_set_always_show_image(
|
| - GTK_IMAGE_MENU_ITEM(image_menu_item), TRUE);
|
| -}
|
| -
|
| guint GetGdkKeyCodeForAccelerator(const ui::Accelerator& accelerator) {
|
| // The second parameter is false because accelerator keys are expressed in
|
| // terms of the non-shift-modified key.
|
| @@ -135,15 +130,4 @@ void ClearAuraTransientParent(GtkWidget* dialog) {
|
| g_object_set_data(G_OBJECT(dialog), kAuraTransientParent, NULL);
|
| }
|
|
|
| -GtkStateType GetGtkState(ui::NativeTheme::State state) {
|
| - switch (state) {
|
| - case ui::NativeTheme::kDisabled: return GTK_STATE_INSENSITIVE;
|
| - case ui::NativeTheme::kHovered: return GTK_STATE_PRELIGHT;
|
| - case ui::NativeTheme::kNormal: return GTK_STATE_NORMAL;
|
| - case ui::NativeTheme::kPressed: return GTK_STATE_ACTIVE;
|
| - case ui::NativeTheme::kNumStates: NOTREACHED();
|
| - }
|
| - return GTK_STATE_NORMAL;
|
| -}
|
| -
|
| } // namespace libgtk2ui
|
|
|