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

Unified Diff: views/controls/combobox/native_combobox_gtk.cc

Issue 196055: Lands http://codereview.chromium.org/198010 for Oshima:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 3 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 | « no previous file | views/controls/tabbed_pane/native_tabbed_pane_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/combobox/native_combobox_gtk.cc
===================================================================
--- views/controls/combobox/native_combobox_gtk.cc (revision 25701)
+++ views/controls/combobox/native_combobox_gtk.cc (working copy)
@@ -114,17 +114,17 @@
G_CALLBACK(CallChanged), this);
NativeControlCreated(widget);
+}
+void NativeComboboxGtk::NativeControlCreated(GtkWidget* native_control) {
+ NativeControlGtk::NativeControlCreated(native_control);
+
// Set the data from combobox
UpdateFromModel();
// and show the 1st item by default.
- gtk_combo_box_set_active(GTK_COMBO_BOX(widget), 0);
+ gtk_combo_box_set_active(GTK_COMBO_BOX(native_control), 0);
}
-void NativeComboboxGtk::NativeControlCreated(GtkWidget* native_control) {
- NativeControlGtk::NativeControlCreated(native_control);
-}
-
////////////////////////////////////////////////////////////////////////////////
// NativeComboboxGtk, private:
void NativeComboboxGtk::SelectionChanged() {
« no previous file with comments | « no previous file | views/controls/tabbed_pane/native_tabbed_pane_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698