Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
gtk
Commits
0528aeae
Commit
0528aeae
authored
Aug 09, 2004
by
Matthias Clasen
Browse files
Oops.
parent
c1af2aa6
Changes
1
Hide whitespace changes
Inline
Side-by-side
gtk/gtkcombobox.c
View file @
0528aeae
...
...
@@ -4166,18 +4166,17 @@ void
gtk_combo_box_set_active
(
GtkComboBox
*
combo_box
,
gint
index_
)
{
GtkTreePath
*
path
;
GtkTreePath
*
path
=
NULL
;
g_return_if_fail
(
GTK_IS_COMBO_BOX
(
combo_box
));
g_return_if_fail
(
index_
>=
-
1
);
if
(
index_
!=
-
1
)
path
=
gtk_tree_path_new_from_indices
(
index_
,
-
1
);
else
path
=
NULL
;
gtk_combo_box_set_active_internal
(
combo_box
,
path
);
gtk_tree_path_free
(
path
);
if
(
path
)
gtk_tree_path_free
(
path
);
}
static
void
...
...
Write
Preview
Supports
Markdown
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