[grilo-plugins] lua-factory: Fix compilation warning
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] lua-factory: Fix compilation warning
- Date: Tue, 27 Jan 2015 17:36:40 +0000 (UTC)
commit c321f085fd6afdff3046152385faed957e72c0f5
Author: Bastien Nocera <hadess hadess net>
Date: Tue Dec 9 21:11:06 2014 +0100
lua-factory: Fix compilation warning
src/lua-factory/grl-lua-factory.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/lua-factory/grl-lua-factory.c b/src/lua-factory/grl-lua-factory.c
index 1f010f2..2f3c25a 100644
--- a/src/lua-factory/grl-lua-factory.c
+++ b/src/lua-factory/grl-lua-factory.c
@@ -285,7 +285,7 @@ grl_lua_factory_source_new (gchar *lua_plugin_path,
g_clear_pointer (&source_tags, g_strfreev);
g_clear_object (&source_icon);
- g_object_set_data_full (G_OBJECT (source), "resources", resource, g_resource_unref);
+ g_object_set_data_full (G_OBJECT (source), "resources", resource, (GDestroyNotify) g_resource_unref);
ret = lua_plugin_source_operations (L, source->priv->fn);
if (ret != LUA_OK)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]