Unwanted libraries loading lock

pull/4/head
parent b9a9ecc2e5
commit 309be0cc6e

@ -43,14 +43,12 @@ pthread)
if (VTE291)
list(APPEND LIBRARIES ${VTE291_LIBRARIES})
else()
add_definitions(-DVTE_DISABLE)
add_definitions(-DVTE_INCLUDE)
endif()
if (WEBKIT_LIBRARIES_FOUND)
list(APPEND LIBRARIES ${WEBKIT_LIBRARIES})
else()
add_definitions(-DWEBKIT_DISABLE)
add_definitions(-DWEBKIT_INCLUDE)
endif()
message(${CMAKE_INSTALL_LIBDIR})

@ -4,7 +4,7 @@
static render_data render;
#ifndef VTE_DISABLE
#ifdef VTE_INCLUDE
static void child_ready(VteTerminal *terminal, GPid pid, GError *error, gpointer user_data)
{
@ -824,7 +824,7 @@ void yon_ubl_setup_sockets(GtkWidget *main_window, GtkWidget *left_window, GtkWi
}
}
#ifndef WEBKIT_DISABLE
#ifdef WEBKIT_INCLUDE
void yon_ubl_browser_window_open(char *link, char *browser_window_name){
GtkWidget *browser=gtk_window_new(GTK_WINDOW_TOPLEVEL);

@ -7,7 +7,7 @@
#ifdef __GTK_H__
#ifndef VTE_DISABLE
#ifdef VTE_INCLUDE
#include <vte/vte.h>
/**
* void yon_terminal_integrated_launch(GtkWidget *place_to_show, void *endwork_function, void* endwork_function_argument)
@ -384,7 +384,7 @@ void _yon_ubl_header_setup_resource(GtkWidget *Overlay, GtkWidget *Head, GtkWidg
*/
void yon_ubl_setup_sockets(GtkWidget *main_window, GtkWidget *left_window, GtkWidget *right_window, int socket_main_id, int socket_left_id, int socket_right_id);
#ifndef WEBKIT_DISABLE
#ifdef WEBKIT_INCLUDE
#include <webkit2/webkit2.h>
/**yon_ubl_browser_window_open(char *link, char *browser_window_name)

Loading…
Cancel
Save