[grilo-plugins] lua-factory: Fix compilation warning



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]