Commit 2be61ccc authored by Garrett Regier's avatar Garrett Regier

Shorten Lua plugin loader filenames

Using "peas-plugin-loader-lua" as a
prefix is just too long.

https://bugzilla.gnome.org/show_bug.cgi?id=742410
parent 348c7ccb
......@@ -254,7 +254,7 @@ m4_define([peas_lgi_version_test], [
#include <lauxlib.h>
#include <lualib.h>
#include "peas-plugin-loader-lua-utils.c"
#include "peas-lua-utils.c"
int main(int argc, char **argv)
{
......
......@@ -15,8 +15,8 @@ loader_LTLIBRARIES = liblua51loader.la
liblua51loader_la_SOURCES = \
peas-plugin-loader-lua.c \
peas-plugin-loader-lua.h \
peas-plugin-loader-lua-utils.c \
peas-plugin-loader-lua-utils.h
peas-lua-utils.c \
peas-lua-utils.h
liblua51loader_la_LDFLAGS = \
$(LOADER_LIBTOOL_FLAGS) \
......
/*
* peas-plugin-loader-lua-utils.c
* peas-lua-utils.c
* This file is part of libpeas
*
* Copyright (C) 2014 - Garrett Regier
......@@ -23,7 +23,7 @@
#include <config.h>
#endif
#include "peas-plugin-loader-lua-utils.h"
#include "peas-lua-utils.h"
#include <string.h>
......
/*
* peas-plugin-loader-lua-utils.h
* peas-lua-utils.h
* This file is part of libpeas
*
* Copyright (C) 2014 - Garrett Regier
......@@ -19,8 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __PEAS_PLUGIN_LOADER_LUA_UTILS_H__
#define __PEAS_PLUGIN_LOADER_LUA_UTILS_H__
#ifndef __PEAS_LUA_UTILS_H__
#define __PEAS_LUA_UTILS_H__
#include <glib.h>
#include <lua.h>
......@@ -38,5 +38,4 @@ gboolean peas_lua_utils_check_version (lua_State *L,
G_END_DECLS
#endif /* __PEAS_PLUGIN_LOADER_LUA_UTILS_H__ */
#endif /* __PEAS_LUA_UTILS_H__ */
......@@ -32,7 +32,7 @@
#include <lauxlib.h>
#include <lualib.h>
#include "peas-plugin-loader-lua-utils.h"
#include "peas-lua-utils.h"
typedef void (* LgiLockFunc) (gpointer lgi_lock);
......
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