summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2010-04-16 12:02:29 -0400
committerRyan Lortie <desrt@desrt.ca>2010-04-16 12:02:29 -0400
commit04c1eadfff5b382f4f54877d62b4703b6f1620f4 (patch)
tree30bfd22d3d379265aebfa11eb4c8b853ac597d5b
parent149224664f639efaf5cc2a928ed9ffb525ec8591 (diff)
downloadglib-04c1eadfff5b382f4f54877d62b4703b6f1620f4.tar.gz
GSettings: more PLT/visibility fixups
-rw-r--r--gio/gnullsettingsbackend.c3
-rw-r--r--gio/gsettingsbackendinternal.h5
-rw-r--r--gio/gsettingsschema.h6
-rwxr-xr-xgio/pltcheck.sh2
4 files changed, 10 insertions, 6 deletions
diff --git a/gio/gnullsettingsbackend.c b/gio/gnullsettingsbackend.c
index e09ed9f88..28ffe8203 100644
--- a/gio/gnullsettingsbackend.c
+++ b/gio/gnullsettingsbackend.c
@@ -23,6 +23,8 @@
#include "gnullsettingsbackend.h"
+#include "gioalias.h"
+
#define G_TYPE_NULL_SETTINGS_BACKEND (g_null_settings_backend_get_type ())
#define G_NULL_SETTINGS_BACKEND(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \
G_TYPE_NULL_SETTINGS_BACKEND, \
@@ -32,6 +34,7 @@
typedef GSettingsBackendClass GNullSettingsBackendClass;
typedef GSettingsBackend GNullSettingsBackend;
+static GType g_null_settings_backend_get_type (void);
G_DEFINE_TYPE (GNullSettingsBackend,
g_null_settings_backend,
G_TYPE_SETTINGS_BACKEND)
diff --git a/gio/gsettingsbackendinternal.h b/gio/gsettingsbackendinternal.h
index 83425e070..fbdf15241 100644
--- a/gio/gsettingsbackendinternal.h
+++ b/gio/gsettingsbackendinternal.h
@@ -26,8 +26,6 @@
#include "gsettingsbackend.h"
-G_BEGIN_DECLS
-
typedef void (*GSettingsBackendChangedFunc) (GSettingsBackend *backend,
const gchar *key,
gpointer origin_tag,
@@ -98,7 +96,4 @@ void g_settings_backend_unsubscribe (GSettin
G_GNUC_INTERNAL
void g_settings_backend_subscribe (GSettingsBackend *backend,
const char *name);
-
-G_END_DECLS
-
#endif /* __G_SETTINGS_BACKEND_INTERNAL_H__ */
diff --git a/gio/gsettingsschema.h b/gio/gsettingsschema.h
index a1a2d26f6..f813a959a 100644
--- a/gio/gsettingsschema.h
+++ b/gio/gsettingsschema.h
@@ -52,13 +52,19 @@ struct _GSettingsSchema
GSettingsSchemaPrivate *priv;
};
+G_GNUC_INTERNAL
GType g_settings_schema_get_type (void);
+G_GNUC_INTERNAL
GSettingsSchema * g_settings_schema_new (const gchar *name);
+G_GNUC_INTERNAL
const gchar * g_settings_schema_get_path (GSettingsSchema *schema);
+G_GNUC_INTERNAL
const gchar * g_settings_schema_get_gettext_domain (GSettingsSchema *schema);
+G_GNUC_INTERNAL
GVariant * g_settings_schema_get_value (GSettingsSchema *schema,
const gchar *key,
GVariant **options);
+G_GNUC_INTERNAL
gboolean g_settings_schema_has_key (GSettingsSchema *schema,
const gchar *key);
diff --git a/gio/pltcheck.sh b/gio/pltcheck.sh
index a0244bf1e..bfd73fa6b 100755
--- a/gio/pltcheck.sh
+++ b/gio/pltcheck.sh
@@ -9,7 +9,7 @@ if ! which readelf 2>/dev/null >/dev/null; then
exit 0
fi
-SKIP='\<g_access\|\<g_array_\|\<g_ascii\|\<g_list_\|\<g_assertion_message\|\<g_warn_message\|\<g_atomic\|\<g_bit_\|\<g_boxed\|\<g_build_filename\|\<g_byte_array\|\<g_checksum\|\<g_child_watch\|\<g_clear_error\|\<g_convert\|\<g_dir_\|\<g_enum_\|\<g_error_\|\<g_prefix_error\|\<g_file_error_quark\|\<g_file_get_contents\|\<g_file_set_contents\|\<g_file_test\|\<g_file_read_link\|\<g_filename_\|\<g_find_program_in_path\|\<g_flags_\|\<g_free\|\<g_get_\|\<g_getenv\|\<g_setenv\|\<g_hash_table_\|\<g_hostname_\|\<g_iconv\|\<g_idle_\|\<g_intern_static_string\|\<g_io_add_watch\|\<g_io_channel_\|\<g_io_create_watch\|\<g_key_file_\|\<g_listenv\|\<g_locale_to_utf8\|\<g_log\|\<g_main_context_\|\<g_main_current_source\|\<g_main_loop_\|\<g_malloc\|\<g_markup_\|\<g_mkdir_\|\<g_mkstemp\|\<g_module_\|\<g_object_\|\<g_once_\|\<g_param_spec_\|\<g_path_\|\<g_poll\|\<g_printerr\|\<g_propagate_error\|\<g_ptr_array_\|\<g_qsort_\|\<g_quark_\|\<g_queue_\|\<g_random_int_range\|\<g_realloc\|\<g_return_if_fail\|\<g_set_error\|\<g_shell_\|\<g_signal_\|\<g_slice_\|\<g_slist_\|\<g_snprintf\|\<g_source_\|\<g_spawn_\|\<g_static_\|\<g_str\|\<g_thread_pool_\|\<g_time_val_add\|\<g_timeout_\|\<g_type_\|\<g_unlink\|\<g_uri_\|\<g_utf8_\|\<g_value_\|\<g_tree_'
+SKIP='\<g_access\|\<g_array_\|\<g_ascii\|\<g_list_\|\<g_assertion_message\|\<g_warn_message\|\<g_atomic\|\<g_bit_\|\<g_boxed\|\<g_build_filename\|\<g_byte_array\|\<g_checksum\|\<g_child_watch\|\<g_clear_error\|\<g_convert\|\<g_dir_\|\<g_enum_\|\<g_error_\|\<g_prefix_error\|\<g_file_error_quark\|\<g_file_get_contents\|\<g_file_set_contents\|\<g_file_test\|\<g_file_read_link\|\<g_filename_\|\<g_find_program_in_path\|\<g_flags_\|\<g_free\|\<g_get_\|\<g_getenv\|\<g_setenv\|\<g_hash_table_\|\<g_hostname_\|\<g_iconv\|\<g_idle_\|\<g_intern_static_string\|\<g_io_add_watch\|\<g_io_channel_\|\<g_io_create_watch\|\<g_key_file_\|\<g_listenv\|\<g_locale_to_utf8\|\<g_log\|\<g_main_context_\|\<g_main_current_source\|\<g_main_loop_\|\<g_malloc\|\<g_markup_\|\<g_mkdir_\|\<g_mkstemp\|\<g_module_\|\<g_object_\|\<g_once_\|\<g_param_spec_\|\<g_path_\|\<g_poll\|\<g_printerr\|\<g_propagate_error\|\<g_ptr_array_\|\<g_qsort_\|\<g_quark_\|\<g_queue_\|\<g_random_int_range\|\<g_realloc\|\<g_return_if_fail\|\<g_set_error\|\<g_shell_\|\<g_signal_\|\<g_slice_\|\<g_slist_\|\<g_snprintf\|\<g_source_\|\<g_spawn_\|\<g_static_\|\<g_str\|\<g_thread_pool_\|\<g_time_val_add\|\<g_timeout_\|\<g_type_\|\<g_unlink\|\<g_uri_\|\<g_utf8_\|\<g_value_\|\<g_tree_\|\<g_variant_\|\<g_mapped_file_'
for so in .libs/lib*.so; do
echo Checking $so for local PLT entries