| OLD | NEW | 
|---|
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #include "chrome/browser/gtk/menu_bar_helper.h" | 5 #include "chrome/browser/gtk/menu_bar_helper.h" | 
| 6 | 6 | 
| 7 #include <algorithm> | 7 #include <algorithm> | 
| 8 | 8 | 
| 9 #include "app/gtk_signal_registrar.h" | 9 #include "app/gtk_signal_registrar.h" | 
| 10 #include "base/logging.h" | 10 #include "base/logging.h" | 
| 11 #include "chrome/browser/gtk/gtk_util.h" | 11 #include "chrome/browser/gtk/gtk_util.h" | 
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 174       break; | 174       break; | 
| 175     } | 175     } | 
| 176     default: | 176     default: | 
| 177       return; | 177       return; | 
| 178   } | 178   } | 
| 179 | 179 | 
| 180   // This signal doesn't have a return value; we have to manually stop its | 180   // This signal doesn't have a return value; we have to manually stop its | 
| 181   // propagation. | 181   // propagation. | 
| 182   g_signal_stop_emission_by_name(menu, "move-current"); | 182   g_signal_stop_emission_by_name(menu, "move-current"); | 
| 183 } | 183 } | 
| OLD | NEW | 
|---|