Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -189,7 +189,7 @@ endif
|
|||||||
|
|
||||||
if BUILD_C_API
|
if BUILD_C_API
|
||||||
lib_LTLIBRARIES = libprofanity.la
|
lib_LTLIBRARIES = libprofanity.la
|
||||||
libprofanity_la_LDFLAGS=-avoid-version -shared
|
libprofanity_la_LDFLAGS=-avoid-version -shared -no-undefined
|
||||||
libprofanity_la_SOURCES = src/plugins/profapi.c
|
libprofanity_la_SOURCES = src/plugins/profapi.c
|
||||||
|
|
||||||
library_includedir=$(includedir)
|
library_includedir=$(includedir)
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ plugin_themes_close(void)
|
|||||||
theme_item_t
|
theme_item_t
|
||||||
plugin_themes_get(const char *const group, const char *const key, const char *const def)
|
plugin_themes_get(const char *const group, const char *const key, const char *const def)
|
||||||
{
|
{
|
||||||
if (group && key && def && g_key_file_has_key(themes, group, key, NULL)) {
|
if (group && key && g_key_file_has_key(themes, group, key, NULL)) {
|
||||||
gchar *result = g_key_file_get_string(themes, group, key, NULL);
|
gchar *result = g_key_file_get_string(themes, group, key, NULL);
|
||||||
|
|
||||||
theme_item_t ret;
|
theme_item_t ret;
|
||||||
|
|||||||
@@ -32,6 +32,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define _GNU_SOURCE 1
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user