| OLD | NEW |
| 1 // Copyright (c) 2010 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/focus_store_gtk.h" | 5 #include "chrome/browser/gtk/focus_store_gtk.h" |
| 6 | 6 |
| 7 #include <gtk/gtk.h> | 7 #include <gtk/gtk.h> |
| 8 | 8 |
| 9 #include "chrome/browser/platform_util.h" | 9 #include "chrome/browser/platform_util.h" |
| 10 | 10 |
| 11 FocusStoreGtk::FocusStoreGtk() | 11 FocusStoreGtk::FocusStoreGtk() |
| (...skipping 29 matching lines...) Expand all Loading... |
| 41 &widget_); | 41 &widget_); |
| 42 } | 42 } |
| 43 } | 43 } |
| 44 | 44 |
| 45 void FocusStoreGtk::DisconnectDestroyHandler() { | 45 void FocusStoreGtk::DisconnectDestroyHandler() { |
| 46 if (widget_) { | 46 if (widget_) { |
| 47 g_signal_handler_disconnect(widget_, destroy_handler_id_); | 47 g_signal_handler_disconnect(widget_, destroy_handler_id_); |
| 48 widget_ = NULL; | 48 widget_ = NULL; |
| 49 } | 49 } |
| 50 } | 50 } |
| OLD | NEW |