Commit 1a6a0ac0 authored by Igor's avatar Igor

Resolve couple "cast between incompatible function types" warnings

parent f39e0cb8
......@@ -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));
}
......
......@@ -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)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment