Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Avinash Sonawane
ristretto
Commits
1a6a0ac0
Commit
1a6a0ac0
authored
Oct 29, 2019
by
Igor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve couple "cast between incompatible function types" warnings
parent
f39e0cb8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
src/icon_bar.c
src/icon_bar.c
+4
-1
src/privacy_dialog.c
src/privacy_dialog.c
+3
-1
No files found.
src/icon_bar.c
View file @
1a6a0ac0
...
...
@@ -1101,7 +1101,10 @@ rstto_icon_bar_button_release (
static
void
rstto_icon_bar_invalidate
(
RsttoIconBar
*
icon_bar
)
{
g_list_foreach
(
icon_bar
->
priv
->
items
,
(
GFunc
)
rstto_icon_bar_item_invalidate
,
NULL
);
GList
*
lp
;
for
(
lp
=
icon_bar
->
priv
->
items
;
lp
!=
NULL
;
lp
=
lp
->
next
)
rstto_icon_bar_item_invalidate
(
lp
->
data
);
gtk_widget_queue_resize
(
GTK_WIDGET
(
icon_bar
));
}
...
...
src/privacy_dialog.c
View file @
1a6a0ac0
...
...
@@ -368,12 +368,14 @@ rstto_recent_chooser_get_items (
GList
*
all_items
=
gtk_recent_manager_get_items
(
dialog
->
priv
->
recent_manager
);
GList
*
all_items_iter
=
all_items
;
GList
*
items
=
g_list_copy
(
all_items
);
GList
*
lp
;
GSList
*
filters
=
dialog
->
priv
->
filters
;
GtkRecentInfo
*
info
;
GtkRecentFilterInfo
filter_info
;
gsize
n_applications
;
g_list_foreach
(
items
,
(
GFunc
)
gtk_recent_info_ref
,
NULL
);
for
(
lp
=
items
;
lp
!=
NULL
;
lp
=
lp
->
next
)
gtk_recent_info_ref
(
lp
->
data
);
while
(
NULL
!=
all_items_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