summaryrefslogtreecommitdiff
path: root/settings
diff options
context:
space:
mode:
authorAlexander Schwinn <alexxcons@xfce.org>2019-02-14 23:36:34 +0100
committerAndre Miranda <andreldm@xfce.org>2019-04-06 18:36:48 -0300
commit9ba6164b98380eb6b5914606b32792ad761119ed (patch)
treeae501c6c7be695efa8650d8344fa490877d43ed7 /settings
parentd39c6ef8ffa43af705cfc0656fa68a2d544401f2 (diff)
downloadxfce4-session-9ba6164b98380eb6b5914606b32792ad761119ed.tar.gz
Fixed warning "cast between incompatible function types" introduced in
GCC 8
Diffstat (limited to 'settings')
-rw-r--r--settings/xfae-model.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/xfae-model.c b/settings/xfae-model.c
index f87d0306..59ee10e3 100644
--- a/settings/xfae-model.c
+++ b/settings/xfae-model.c
@@ -172,7 +172,7 @@ xfae_model_finalize (GObject *object)
XfaeModel *model = XFAE_MODEL (object);
/* free all items */
- g_list_foreach (model->items, (GFunc) xfae_item_free, NULL);
+ g_list_foreach (model->items, (GFunc) G_CALLBACK(xfae_item_free), NULL);
g_list_free (model->items);
G_OBJECT_CLASS (xfae_model_parent_class)->finalize (object);