Unref callback->cb_data if it was still set when the source is freed.
[platform/upstream/glib.git] / glib.def
index 584404e..d56b87b 100644 (file)
--- a/glib.def
+++ b/glib.def
@@ -7,6 +7,7 @@ EXPORTS
        g_array_remove_index
        g_array_remove_index_fast
        g_array_set_size
+       g_array_sized_new
        g_atexit
        g_basename
        g_bit_nth_lsf
@@ -20,18 +21,23 @@ EXPORTS
        g_byte_array_remove_index
        g_byte_array_remove_index_fast
        g_byte_array_set_size
+       g_byte_array_sized_new
        g_cache_destroy
        g_cache_insert
        g_cache_key_foreach
        g_cache_new
        g_cache_remove
        g_cache_value_foreach
+       g_clear_error
        g_completion_add_items
        g_completion_clear_items
        g_completion_complete
        g_completion_free
        g_completion_new
        g_completion_remove_items
+       g_convert
+       g_convert_error_quark
+       g_convert_with_fallback
        g_datalist_clear
        g_datalist_foreach
        g_datalist_id_get_data
@@ -48,17 +54,21 @@ EXPORTS
        g_date_add_years
        g_date_clear
        g_date_compare
-       g_date_day
-       g_date_day_of_year
-       g_date_days_in_month
        g_date_free
+       g_date_get_day
+       g_date_get_day_of_year
+       g_date_get_days_in_month
+       g_date_get_julian
+       g_date_get_monday_week_of_year
+       g_date_get_monday_weeks_in_year
+       g_date_get_month
+       g_date_get_sunday_week_of_year
+       g_date_get_sunday_weeks_in_year
+       g_date_get_weekday
+       g_date_get_year
        g_date_is_first_of_month
        g_date_is_last_of_month
        g_date_is_leap_year
-       g_date_julian
-       g_date_monday_week_of_year
-       g_date_monday_weeks_in_year
-       g_date_month
        g_date_new
        g_date_new_dmy
        g_date_new_julian
@@ -73,8 +83,6 @@ EXPORTS
        g_date_subtract_days
        g_date_subtract_months
        g_date_subtract_years
-       g_date_sunday_week_of_year
-       g_date_sunday_weeks_in_year
        g_date_to_struct_tm
        g_date_valid
        g_date_valid_day
@@ -83,14 +91,24 @@ EXPORTS
        g_date_valid_month
        g_date_valid_weekday
        g_date_valid_year
-       g_date_weekday
-       g_date_year
        g_direct_equal
        g_direct_hash
        g_dirname
+       g_error_copy
+       g_error_free
+       g_error_matches
+       g_error_new
+       g_error_new_literal
+       g_file_error_from_errno
+       g_file_error_quark
+       g_file_get_contents
+       g_file_open_tmp
+       g_file_test
        g_filename_from_utf8
        g_filename_to_utf8
        g_free
+       g_get_charset
+       g_get_codeset
        g_get_current_dir
        g_get_current_time
        g_get_home_dir
@@ -133,9 +151,13 @@ EXPORTS
        g_hook_prepend
        g_hook_ref
        g_hook_unref
+       g_iconv
+       g_iconv_close
+       g_iconv_open
        g_idle_add
        g_idle_add_full
        g_idle_remove_by_data
+       g_idle_source_new
        g_int_equal
        g_int_hash
        g_io_add_watch
@@ -149,17 +171,22 @@ EXPORTS
        g_io_channel_unix_new
        g_io_channel_unref
        g_io_channel_win32_get_fd
+       g_io_channel_win32_make_pollfd
+       g_io_channel_win32_new_fd
        g_io_channel_win32_new_messages
        g_io_channel_win32_new_pipe
        g_io_channel_win32_new_pipe_with_wakeups
        g_io_channel_win32_new_stream_socket
        g_io_channel_win32_pipe_readable
        g_io_channel_win32_pipe_request_wakeups
+       g_io_channel_win32_poll
+       g_io_channel_win32_set_debug
        g_io_channel_write
        g_list_alloc
        g_list_append
        g_list_concat
        g_list_copy
+       g_list_delete_link
        g_list_find
        g_list_find_custom
        g_list_first
@@ -179,6 +206,9 @@ EXPORTS
        g_list_remove_link
        g_list_reverse
        g_list_sort
+       g_list_sort_with_data
+       g_locale_from_utf8
+       g_locale_to_utf8
        g_log
        g_log_default_handler
        g_log_remove_handler
@@ -186,19 +216,35 @@ EXPORTS
        g_log_set_fatal_mask
        g_log_set_handler
        g_logv
-       g_main_add_poll
-       g_main_destroy
-       g_main_is_running
-       g_main_iteration
-       g_main_new
-       g_main_pending
-       g_main_quit
-       g_main_remove_poll
-       g_main_run
-       g_main_set_poll_func
+       g_main_context_add_poll
+       g_main_context_check
+       g_main_context_default
+       g_main_context_dispatch
+       g_main_context_find_source_by_funcs_user_data
+       g_main_context_find_source_by_id
+       g_main_context_find_source_by_user_data
+       g_main_context_get
+       g_main_context_get_poll_func
+       g_main_context_iteration
+       g_main_context_pending
+       g_main_context_prepare
+       g_main_context_query
+       g_main_context_remove_poll
+       g_main_context_set_poll_func
+       g_main_loop_destroy
+       g_main_loop_is_running
+       g_main_loop_new
+       g_main_loop_quit
+       g_main_loop_run
        g_malloc
        g_malloc0
-       g_mem_check
+       g_markup_error_quark
+       g_markup_escape_text
+       g_markup_parse_context_end_parse
+       g_markup_parse_context_free
+       g_markup_parse_context_get_position
+       g_markup_parse_context_new
+       g_markup_parse_context_parse
        g_mem_chunk_alloc
        g_mem_chunk_alloc0
        g_mem_chunk_clean
@@ -210,12 +256,15 @@ EXPORTS
        g_mem_chunk_reset
        g_mem_init
        g_mem_profile
+       g_mem_set_vtable
        g_memdup
        g_messages_init
+       g_mkstemp
        g_mutex_init
        g_node_child_index
        g_node_child_position
        g_node_children_foreach
+       g_node_copy
        g_node_depth
        g_node_destroy
        g_node_find
@@ -223,6 +272,7 @@ EXPORTS
        g_node_first_sibling
        g_node_get_root
        g_node_insert
+       g_node_insert_after
        g_node_insert_before
        g_node_is_ancestor
        g_node_last_child
@@ -239,12 +289,15 @@ EXPORTS
        g_on_error_query
        g_on_error_stack_trace
        g_parse_debug_string
+       g_path_get_basename
+       g_path_get_dirname
        g_path_is_absolute
        g_path_skip_root
        g_pipe_readable_msg
        g_print
        g_printerr
        g_printf_string_upper_bound
+       g_propagate_error
        g_ptr_array_add
        g_ptr_array_free
        g_ptr_array_new
@@ -253,13 +306,15 @@ EXPORTS
        g_ptr_array_remove_index
        g_ptr_array_remove_index_fast
        g_ptr_array_set_size
+       g_ptr_array_sized_new
+       g_qsort_with_data
        g_quark_from_static_string
        g_quark_from_string
        g_quark_to_string
        g_quark_try_string
-       g_queue_create
        g_queue_free
        g_queue_is_empty
+       g_queue_new
        g_queue_peek_head
        g_queue_peek_tail
        g_queue_pop_head
@@ -317,12 +372,16 @@ EXPORTS
        g_scanner_thaw_symbol_table
        g_scanner_unexp_token
        g_scanner_warn
+       g_set_error
        g_set_error_handler
        g_set_message_handler
        g_set_prgname
        g_set_print_handler
        g_set_printerr_handler
        g_set_warning_handler
+       g_shell_parse_argv
+       g_shell_quote
+       g_shell_unquote
        g_slist_alloc
        g_slist_append
        g_slist_concat
@@ -346,11 +405,33 @@ EXPORTS
        g_slist_remove_link
        g_slist_reverse
        g_slist_sort
+       g_slist_sort_with_data
        g_snprintf
-       g_source_add
+       g_source_add_poll
+       g_source_attach
+       g_source_destroy
+       g_source_get_can_recurse
+       g_source_get_context
+       g_source_get_current_time
+       g_source_get_id
+       g_source_get_priority
+       g_source_new
+       g_source_ref
        g_source_remove
-       g_source_remove_by_source_data
+       g_source_remove_by_funcs_user_data
        g_source_remove_by_user_data
+       g_source_set_callback
+       g_source_set_callback_indirect
+       g_source_set_can_recurse
+       g_source_set_priority
+       g_source_unref
+       g_spaced_primes_closest
+       g_spawn_async
+       g_spawn_async_with_pipes
+       g_spawn_command_line_async
+       g_spawn_command_line_sync
+       g_spawn_error_quark
+       g_spawn_sync
        g_static_mutex_get_mutex_impl
        g_static_private_get
        g_static_private_set
@@ -366,6 +447,7 @@ EXPORTS
        g_static_rw_lock_writer_unlock
        g_str_equal
        g_str_hash
+       g_strcanon
        g_strcasecmp
        g_strchomp
        g_strchug
@@ -376,24 +458,29 @@ EXPORTS
        g_strdup
        g_strdup_printf
        g_strdup_vprintf
+       g_strdupv
        g_strerror
        g_strescape
        g_strfreev
        g_string_append
        g_string_append_c
+       g_string_append_len
        g_string_assign
        g_string_chunk_free
        g_string_chunk_insert
        g_string_chunk_insert_const
        g_string_chunk_new
        g_string_down
+       g_string_equal
        g_string_erase
        g_string_free
        g_string_insert
        g_string_insert_c
+       g_string_insert_len
        g_string_new
        g_string_prepend
        g_string_prepend_c
+       g_string_prepend_len
        g_string_sized_new
        g_string_sprintf
        g_string_sprintfa
@@ -401,6 +488,8 @@ EXPORTS
        g_string_up
        g_strjoin
        g_strjoinv
+       g_strlcat
+       g_strlcpy
        g_strncasecmp
        g_strndup
        g_strnfill
@@ -410,20 +499,29 @@ EXPORTS
        g_strtod
        g_strup
        g_thread_create
+       g_thread_error_quark
        g_thread_functions_for_glib_use
        g_thread_join
+       g_thread_pool_free
+       g_thread_pool_new
+       g_thread_pool_push
        g_thread_self
        g_thread_set_priority
        g_thread_use_default_impl
        g_threads_got_initialized
        g_timeout_add
        g_timeout_add_full
+       g_timeout_source_new
        g_timer_destroy
        g_timer_elapsed
        g_timer_new
        g_timer_reset
        g_timer_start
        g_timer_stop
+       g_trash_stack_height
+       g_trash_stack_peek
+       g_trash_stack_pop
+       g_trash_stack_push
        g_tree_destroy
        g_tree_height
        g_tree_insert
@@ -435,9 +533,47 @@ EXPORTS
        g_tree_traverse
        g_tuples_destroy
        g_tuples_index
+       g_ucs4_to_utf8
+       g_unichar_break_type
+       g_unichar_digit_value
+       g_unichar_isalnum
+       g_unichar_isalpha
+       g_unichar_iscntrl
+       g_unichar_isdefined
+       g_unichar_isdigit
+       g_unichar_isgraph
+       g_unichar_islower
+       g_unichar_isprint
+       g_unichar_ispunct
+       g_unichar_isspace
+       g_unichar_istitle
+       g_unichar_isupper
+       g_unichar_iswide
+       g_unichar_isxdigit
+       g_unichar_to_utf8
+       g_unichar_tolower
+       g_unichar_totitle
+       g_unichar_toupper
+       g_unichar_type
+       g_unichar_xdigit_value
+       g_unicode_canonical_decomposition
+       g_unicode_canonical_ordering
        g_usleep
+       g_utf8_find_next_char
+       g_utf8_find_prev_char
+       g_utf8_get_char
+       g_utf8_offset_to_pointer
+       g_utf8_pointer_to_offset
+       g_utf8_prev_char
+       g_utf8_skip
+       g_utf8_strchr
+       g_utf8_strlen
+       g_utf8_strncpy
+       g_utf8_to_ucs4
+       g_utf8_validate
        g_vsnprintf
        g_win32_closedir
+       g_win32_error_message
        g_win32_ftruncate
        g_win32_getlocale
        g_win32_opendir
@@ -448,4 +584,3 @@ EXPORTS
        glib_major_version
        glib_micro_version
        glib_minor_version
-        g_spaced_primes_closest