Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
thunar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
joyal
thunar
Commits
3fd4ee18
Commit
3fd4ee18
authored
1 week ago
by
Gaël Bonithon
Committed by
Alexander Schwinn
1 week ago
Browse files
Options
Downloads
Patches
Plain Diff
scan-build: Fix core.uninitialized.Assign
parent
9abb5f10
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
thunar/thunar-toolbar-editor.c
+3
-6
3 additions, 6 deletions
thunar/thunar-toolbar-editor.c
with
3 additions
and
6 deletions
thunar/thunar-toolbar-editor.c
+
3
−
6
View file @
3fd4ee18
...
...
@@ -475,15 +475,12 @@ static void
thunar_toolbar_editor_use_defaults
(
ThunarToolbarEditor
*
toolbar_editor
,
GtkWidget
*
button
)
{
GList
*
toolbar_items
;
guint
item_count
=
g
tk_tree_model_iter_n_children
(
GTK_TREE_MODEL
(
toolbar_editor
->
model
),
NULL
);
GList
*
toolbar_items
=
gtk_container_get_children
(
GTK_CONTAINER
(
toolbar_editor
->
toolbar
))
;
guint
item_count
=
g
_list_length
(
toolbar_items
);
guint
target_order
[
item_count
];
guint
current_order
[
item_count
];
guint
index
;
guint
index
=
0
;
toolbar_items
=
gtk_container_get_children
(
GTK_CONTAINER
(
toolbar_editor
->
toolbar
));
index
=
0
;
for
(
GList
*
lp
=
toolbar_items
;
lp
!=
NULL
;
lp
=
lp
->
next
)
{
GtkWidget
*
item
=
lp
->
data
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment