Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove -fvisibility=hidden #590

Merged
merged 1 commit into from
Sep 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/libworkbench/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ libworkbench_c_args = [
'-Wno-missing-declarations',

'-DWORKBENCH_COMPILATION',
'-DWORKBENCH_EXPORT=__attribute__((visibility("default"))) extern',
]
libworkbench_link_args = []
libworkbench_deps = [
Expand Down Expand Up @@ -74,7 +73,6 @@ install_headers(libworkbench_headers,

libworkbench_enums = gnome.mkenums_simple('libworkbench-enums',
sources: libworkbench_headers,
decorator: 'WORKBENCH_EXPORT',
install_header: true,
install_dir: join_paths(includedir, 'libworkbench'),
)
Expand All @@ -87,7 +85,6 @@ libworkbench = shared_library('workbench-@0@'.format(libworkbench_api_version),
dependencies: libworkbench_deps,
c_args: libworkbench_c_args,
link_args: libworkbench_link_args,
gnu_symbol_visibility: 'hidden',
soversion: meson.project_version(),
version: libworkbench_api_version,
install: true,
Expand Down
1 change: 0 additions & 1 deletion src/libworkbench/workbench-completion-provider.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ G_BEGIN_DECLS

#define WORKBENCH_TYPE_COMPLETION_PROVIDER (workbench_completion_provider_get_type())

WORKBENCH_EXPORT
G_DECLARE_DERIVABLE_TYPE (WorkbenchCompletionProvider, workbench_completion_provider, WORKBENCH, COMPLETION_PROVIDER, GObject)

struct _WorkbenchCompletionProviderClass
Expand Down
8 changes: 0 additions & 8 deletions src/libworkbench/workbench-completion-request.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,27 +31,19 @@ typedef enum

#define WORKBENCH_TYPE_COMPLETION_REQUEST (workbench_completion_request_get_type())

WORKBENCH_EXPORT
G_DECLARE_FINAL_TYPE (WorkbenchCompletionRequest, workbench_completion_request, WORKBENCH, COMPLETION_REQUEST, GObject)

WORKBENCH_EXPORT
GCancellable * workbench_completion_request_get_cancellable (WorkbenchCompletionRequest *request);
WORKBENCH_EXPORT
GtkSourceCompletionContext * workbench_completion_request_get_context (WorkbenchCompletionRequest *request);
WORKBENCH_EXPORT
GtkSourceCompletionProvider * workbench_completion_request_get_provider (WorkbenchCompletionRequest *request);
WORKBENCH_EXPORT
WorkbenchRequestState workbench_completion_request_get_state (WorkbenchCompletionRequest *request);
WORKBENCH_EXPORT
void workbench_completion_request_add (WorkbenchCompletionRequest *request,
GtkSourceCompletionProposal *proposal);
WORKBENCH_EXPORT
void workbench_completion_request_splice (WorkbenchCompletionRequest *request,
unsigned int position,
unsigned int n_removals,
gpointer *additions,
unsigned int n_additions);
WORKBENCH_EXPORT
void workbench_completion_request_state_changed (WorkbenchCompletionRequest *request,
WorkbenchRequestState state);

Expand Down