Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dorota Czaplejewicz
gtk
Commits
1d2eaf4b
Commit
1d2eaf4b
authored
Mar 15, 2006
by
Matthias Clasen
Browse files
Move it to the right place
parent
097e3b0b
Changes
1
Show whitespace changes
Inline
Side-by-side
gtk/gtkcombobox.c
View file @
1d2eaf4b
...
...
@@ -3700,14 +3700,14 @@ gtk_combo_box_list_key_press (GtkWidget *widget,
GtkTreeIter
iter
;
GtkTreeModel
*
model
=
NULL
;
gtk_combo_box_popdown
(
combo_box
);
if
(
combo_box
->
priv
->
model
)
{
GtkTreeSelection
*
sel
;
sel
=
gtk_tree_view_get_selection
(
GTK_TREE_VIEW
(
combo_box
->
priv
->
tree_view
));
gtk_combo_box_popdown
(
combo_box
);
if
(
gtk_tree_selection_get_selected
(
sel
,
&
model
,
&
iter
))
gtk_combo_box_set_active_iter
(
combo_box
,
&
iter
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment