gio/: fully remove gioalias hacks

This commit is contained in:
Ryan Lortie 2010-07-07 19:53:22 -04:00
parent 0fc50fa5f7
commit 5b946e0504
153 changed files with 3 additions and 709 deletions

2
gio/.gitignore vendored
View File

@ -2,8 +2,6 @@ gschema-compile
gio-querymodules
gio-marshal.[ch]
gioenumtypes.[ch]
gioalias.h
gioaliasdef.c
glib-compile-schemas
gdbus
gsettings

View File

@ -27,17 +27,9 @@ gio.def: gio.symbols
$(AM_V_GEN) (echo -e EXPORTS; $(CPP) -P -DINCLUDE_VARIABLES -DINCLUDE_INTERNAL_SYMBOLS -DG_OS_WIN32 -DALL_FILES - <$(srcdir)/gio.symbols | sed -e '/^$$/d' -e 's/^/ /' -e 's/G_GNUC_[^ ]*//g' | sort) > gio.def.tmp && \
mv gio.def.tmp gio.def
gioalias.h: gio.symbols makegioalias.pl
$(AM_V_GEN) $(PERL) $(srcdir)/makegioalias.pl < $(srcdir)/gio.symbols > gioalias.h.tmp && \
mv gioalias.h.tmp gioalias.h
gioaliasdef.c: gio.symbols makegioalias.pl
$(AM_V_GEN) $(PERL) $(srcdir)/makegioalias.pl -def < $(srcdir)/gio.symbols > gioaliasdef.c.tmp && \
mv gioaliasdef.c.tmp gioaliasdef.c
if OS_LINUX
if HAVE_GNUC_VISIBILITY
TESTS = abicheck.sh pltcheck.sh
TESTS = abicheck.sh
endif
endif
@ -364,8 +356,6 @@ libgio_2_0_la_SOURCES = \
gmountprivate.h \
gioenumtypes.h \
gioenumtypes.c \
gioalias.h \
gioaliasdef.c \
$(appinfo_sources) \
$(unix_sources) \
$(win32_sources) \
@ -515,8 +505,6 @@ gioinclude_HEADERS = \
BUILT_SOURCES = \
gio-marshal.h \
gio-marshal.c \
gioalias.h \
gioaliasdef.c \
gioenumtypes.h \
gioenumtypes.c \
$(NULL)
@ -527,9 +515,7 @@ EXTRA_DIST += \
gioenumtypes.h.template \
gioenumtypes.c.template \
makefile.msc \
makegioalias.pl \
abicheck.sh \
pltcheck.sh \
gio.rc.in \
gschema.dtd \
$(NULL)

View File

@ -74,4 +74,3 @@ dump_event (node_event_t* ev, gpointer user_data)
node_t* node = ev->user_data;
g_printf ("ne:0x%p e:%p n:0x%p ds:0x%p s:0x%p s\n", ev, ev->e, node, node->dir_subs, node->subs, NODE_NAME(node));
}

View File

@ -194,4 +194,3 @@ fen_init ()
G_UNLOCK (fen_lock);
return result;
}

View File

@ -554,4 +554,3 @@ _event_string (int event)
return "EVENT_UNKNOWN";
}
}

View File

@ -639,4 +639,3 @@ node_event_delete (node_event_t* ev)
{
g_free (ev);
}

View File

@ -35,8 +35,6 @@
#include "fen-helper.h"
#include "gioalias.h"
struct _GFenDirectoryMonitor
{
GLocalDirectoryMonitor parent_instance;
@ -142,4 +140,3 @@ g_fen_directory_monitor_cancel (GFileMonitor* monitor)
return TRUE;
}

View File

@ -35,8 +35,6 @@
#include "fen-helper.h"
#include "gioalias.h"
struct _GFenFileMonitor
{
GLocalFileMonitor parent_instance;
@ -142,4 +140,3 @@ g_fen_file_monitor_cancel (GFileMonitor* monitor)
return TRUE;
}

View File

@ -26,7 +26,6 @@
#include <gioerror.h>
#include <gfile.h>
#include "gioalias.h"
/**
* SECTION:gappinfo
@ -818,7 +817,3 @@ g_app_launch_context_launch_failed (GAppLaunchContext *context,
if (class->launch_failed != NULL)
class->launch_failed (context, startup_notify_id);
}
#define __G_APP_INFO_C__
#include "gioaliasdef.c"

View File

@ -39,7 +39,6 @@
#include "gdbusintrospection.h"
#include "gdbusmethodinvocation.h"
#include "gioalias.h"
/**
* SECTION: gapplication
@ -1323,6 +1322,3 @@ g_application_class_init (GApplicationClass *klass)
G_PARAM_CONSTRUCT_ONLY |
G_PARAM_STATIC_STRINGS));
}
#define __G_APPLICATION_C__
#include "gioaliasdef.c"

View File

@ -24,7 +24,6 @@
#include "gasynchelper.h"
#include "gioalias.h"
/**
* SECTION:gasynchelper

View File

@ -26,7 +26,6 @@
#include "gsimpleasyncresult.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gasyncinitable
@ -359,6 +358,3 @@ g_async_initable_new_finish (GAsyncInitable *initable,
else
return NULL;
}
#define __G_ASYNC_INITABLE_C__
#include "gioaliasdef.c"

View File

@ -24,7 +24,6 @@
#include "gasyncresult.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gasyncresult
@ -157,6 +156,3 @@ g_async_result_get_source_object (GAsyncResult *res)
return (* iface->get_source_object) (res);
}
#define __G_ASYNC_RESULT_C__
#include "gioaliasdef.c"

View File

@ -31,7 +31,6 @@
#include <string.h>
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gbufferedinputstream
@ -1380,7 +1379,3 @@ g_buffered_input_stream_skip_finish (GInputStream *stream,
return data->bytes_skipped;
}
#define __G_BUFFERED_INPUT_STREAM_C__
#include "gioaliasdef.c"

View File

@ -27,8 +27,6 @@
#include "string.h"
#include "glibintl.h"
#include <gioalias.h>
/**
* SECTION:gbufferedoutputstream
* @short_description: Buffered Output Stream
@ -763,6 +761,3 @@ g_buffered_output_stream_close_finish (GOutputStream *stream,
return TRUE;
}
#define __G_BUFFERED_OUTPUT_STREAM_C__
#include "gioaliasdef.c"

View File

@ -34,7 +34,6 @@
#include "gcancellable.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gcancellable
@ -771,6 +770,3 @@ g_cancellable_disconnect (GCancellable *cancellable,
g_signal_handler_disconnect (cancellable, handler_id);
G_UNLOCK (cancellable);
}
#define __G_CANCELLABLE_C__
#include "gioaliasdef.c"

View File

@ -31,7 +31,6 @@
#include "gioerror.h"
#include "glibintl.h"
#include "gioalias.h"
enum {
PROP_0,
@ -473,6 +472,3 @@ g_charset_converter_initable_iface_init (GInitableIface *iface)
{
iface->init = g_charset_converter_initable_init;
}
#define __G_CHARSET_CONVERTER_C__
#include "gioaliasdef.c"

View File

@ -35,7 +35,6 @@
#include "gfileinfo.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gcontenttype
@ -1682,6 +1681,3 @@ g_content_type_guess_for_tree (GFile *root)
}
#endif /* Unix version */
#define __G_CONTENT_TYPE_C__
#include "gioaliasdef.c"

View File

@ -24,7 +24,6 @@
#include "gconverter.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gconverter
@ -200,6 +199,3 @@ g_converter_reset (GConverter *converter)
(* iface->reset) (converter);
}
#define __G_CONVERTER_C__
#include "gioaliasdef.c"

View File

@ -31,7 +31,6 @@
#include "gioerror.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gconverterinputstream
@ -552,6 +551,3 @@ g_converter_input_stream_get_converter (GConverterInputStream *converter_stream)
{
return converter_stream->priv->converter;
}
#define __G_CONVERTER_INPUT_STREAM_C__
#include "gioaliasdef.c"

View File

@ -31,7 +31,6 @@
#include "gioerror.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gconverteroutputstream
@ -611,6 +610,3 @@ g_converter_output_stream_get_converter (GConverterOutputStream *converter_strea
{
return converter_stream->priv->converter;
}
#define __G_CONVERTER_OUTPUT_STREAM_C__
#include "gioaliasdef.c"

View File

@ -38,7 +38,6 @@
#include "gioerror.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gcredentials
@ -343,6 +342,3 @@ g_credentials_set_unix_user (GCredentials *credentials,
return ret;
}
#endif /* G_OS_UNIX */
#define __G_CREDENTIALS_C__
#include "gioaliasdef.c"

View File

@ -30,7 +30,6 @@
#include "gioerror.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gdatainputstream
@ -1246,7 +1245,3 @@ g_data_input_stream_read_until_finish (GDataInputStream *stream,
return g_data_input_stream_read_finish (stream, result, length, error);
}
#define __G_DATA_INPUT_STREAM_C__
#include "gioaliasdef.c"

View File

@ -26,7 +26,6 @@
#include "gioenumtypes.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gdataoutputstream
@ -501,6 +500,3 @@ g_data_output_stream_put_string (GDataOutputStream *stream,
&bytes_written,
cancellable, error);
}
#define __G_DATA_OUTPUT_STREAM_C__
#include "gioaliasdef.c"

View File

@ -43,7 +43,6 @@
#endif
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gdbusaddress
@ -1264,6 +1263,3 @@ g_dbus_address_get_for_bus_sync (GBusType bus_type,
return ret;
}
#define __G_DBUS_ADDRESS_C__
#include "gioaliasdef.c"

View File

@ -417,4 +417,3 @@ _g_application_platform_remote_quit (GApplication *app,
if (result)
g_variant_unref (result);
}

View File

@ -46,7 +46,6 @@
#endif
#include "glibintl.h"
#include "gioalias.h"
static void
debug_print (const gchar *message, ...)
@ -1355,6 +1354,3 @@ _g_dbus_auth_run_server (GDBusAuth *auth,
}
/* ---------------------------------------------------------------------------------------------------- */
#define __G_DBUS_AUTH_C__
#include "gioaliasdef.c"

View File

@ -29,7 +29,6 @@
#include "giostream.h"
#include "glibintl.h"
#include "gioalias.h"
/* ---------------------------------------------------------------------------------------------------- */
@ -340,6 +339,3 @@ _g_dbus_auth_mechanism_client_shutdown (GDBusAuthMechanism *mechanism)
}
/* ---------------------------------------------------------------------------------------------------- */
#define __G_DBUS_AUTH_MECHANISM_C__
#include "gioaliasdef.c"

View File

@ -27,7 +27,6 @@
#include "gioenumtypes.h"
#include "glibintl.h"
#include "gioalias.h"
struct _GDBusAuthMechanismAnonPrivate
{
@ -326,6 +325,3 @@ mechanism_client_shutdown (GDBusAuthMechanism *mechanism)
}
/* ---------------------------------------------------------------------------------------------------- */
#define __G_DBUS_AUTH_MECHANISM_ANON_C__
#include "gioaliasdef.c"

View File

@ -34,7 +34,6 @@
#include "gioenumtypes.h"
#include "glibintl.h"
#include "gioalias.h"
struct _GDBusAuthMechanismExternalPrivate
{
@ -403,6 +402,3 @@ mechanism_client_shutdown (GDBusAuthMechanism *mechanism)
}
/* ---------------------------------------------------------------------------------------------------- */
#define __G_DBUS_AUTH_MECHANISM_EXTERNAL_C__
#include "gioaliasdef.c"

View File

@ -43,7 +43,6 @@
#include "gdbusprivate.h"
#include "glibintl.h"
#include "gioalias.h"
struct _GDBusAuthMechanismSha1Private
{
@ -1217,6 +1216,3 @@ mechanism_client_shutdown (GDBusAuthMechanism *mechanism)
}
/* ---------------------------------------------------------------------------------------------------- */
#define __G_DBUS_AUTH_MECHANISM_SHA1_C__
#include "gioaliasdef.c"

View File

@ -29,7 +29,6 @@
#include "giostream.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gdbusauthobserver
@ -264,8 +263,3 @@ g_dbus_auth_observer_authorize_authenticated_peer (GDBusAuthObserver *observer,
&denied);
return denied;
}
#define __G_DBUS_AUTH_OBSERVER_C__
#include "gioaliasdef.c"

View File

@ -130,7 +130,6 @@
#endif
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gdbusconnection
@ -6026,6 +6025,3 @@ g_bus_get_finish (GAsyncResult *res,
}
/* ---------------------------------------------------------------------------------------------------- */
#define __G_DBUS_CONNECTION_C__
#include "gioaliasdef.c"

View File

@ -32,7 +32,6 @@
#include "gdbusprivate.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gdbuserror
@ -868,6 +867,3 @@ g_dbus_error_encode_gerror (const GError *error)
return error_name;
}
#define __G_DBUS_ERROR_C__
#include "gioaliasdef.c"

View File

@ -28,7 +28,6 @@
#include "gdbusintrospection.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gdbusintrospection
@ -2074,6 +2073,3 @@ g_dbus_node_info_lookup_interface (const GDBusNodeInfo *info,
out:
return result;
}
#define __G_DBUS_INTROSPECTION_C__
#include "gioaliasdef.c"

View File

@ -52,7 +52,6 @@
#endif
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gdbusmessage
@ -2834,7 +2833,3 @@ g_dbus_message_print (GDBusMessage *message,
return g_string_free (str, FALSE);
}
#define __G_DBUS_MESSAGE_C__
#include "gioaliasdef.c"

View File

@ -33,7 +33,6 @@
#include "gdbusprivate.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gdbusmethodinvocation
@ -569,6 +568,3 @@ g_dbus_method_invocation_return_dbus_error (GDBusMethodInvocation *invocation,
g_object_unref (invocation);
}
#define __G_DBUS_METHOD_INVOCATION_C__
#include "gioaliasdef.c"

View File

@ -31,7 +31,6 @@
#include "gdbusconnection.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gdbusnameowning
@ -908,6 +907,3 @@ g_bus_unown_name (guint owner_id)
client_unref (client);
}
}
#define __G_DBUS_NAME_OWNING_C__
#include "gioaliasdef.c"

View File

@ -32,7 +32,6 @@
#include "gdbusconnection.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gdbusnamewatching
@ -849,6 +848,3 @@ g_bus_unwatch_name (guint watcher_id)
client_unref (client);
}
}
#define __G_DBUS_NAME_WATCHING_C__
#include "gioaliasdef.c"

View File

@ -52,7 +52,6 @@
#endif
#include "glibintl.h"
#include "gioalias.h"
/* ---------------------------------------------------------------------------------------------------- */
@ -1445,6 +1444,3 @@ _g_dbus_enum_to_string (GType enum_type, gint value)
}
/* ---------------------------------------------------------------------------------------------------- */
#define __G_DBUS_PRIVATE_C__
#include "gioaliasdef.c"

View File

@ -40,7 +40,6 @@
#include "gcancellable.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gdbusproxy
@ -2438,6 +2437,3 @@ g_dbus_proxy_call_sync (GDBusProxy *proxy,
}
/* ---------------------------------------------------------------------------------------------------- */
#define __G_DBUS_PROXY_C__
#include "gioaliasdef.c"

View File

@ -56,7 +56,6 @@
#endif
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gdbusserver
@ -1111,6 +1110,3 @@ initable_iface_init (GInitableIface *initable_iface)
}
/* ---------------------------------------------------------------------------------------------------- */
#define __G_DBUS_SERVER_C__
#include "gioaliasdef.c"

View File

@ -28,7 +28,6 @@
#include "gdbusutils.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gdbusutils
@ -356,6 +355,3 @@ g_dbus_is_guid (const gchar *string)
}
/* ---------------------------------------------------------------------------------------------------- */
#define __G_DBUS_UTILS_C__
#include "gioaliasdef.c"

View File

@ -26,7 +26,6 @@
#include <string.h>
#include "gioalias.h"
struct _GDelayedSettingsBackendPrivate
{

View File

@ -43,7 +43,6 @@
#include "giomodule-priv.h"
#include "gappinfo.h"
#include "gioalias.h"
/**
* SECTION:gdesktopappinfo
@ -2706,6 +2705,3 @@ g_desktop_app_info_lookup_get_default_for_uri_scheme (GDesktopAppInfoLookup *loo
return (* iface->get_default_for_uri_scheme) (lookup, uri_scheme);
}
#define __G_DESKTOP_APP_INFO_C__
#include "gioaliasdef.c"

View File

@ -28,7 +28,6 @@
#include "gioerror.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gdrive
@ -866,6 +865,3 @@ g_drive_stop_finish (GDrive *drive,
return (* iface->stop_finish) (drive, result, error);
}
#define __G_DRIVE_C__
#include "gioaliasdef.c"

View File

@ -35,7 +35,6 @@
#include "gdummyfile.h"
#include "gfile.h"
#include "gioalias.h"
static void g_dummy_file_file_iface_init (GFileIface *iface);

View File

@ -29,7 +29,6 @@
#include <stdlib.h>
#include <string.h>
#include "gioalias.h"
/**
* SECTION:gemblem
@ -358,6 +357,3 @@ g_emblem_iface_init (GIconIface *iface)
iface->to_tokens = g_emblem_to_tokens;
iface->from_tokens = g_emblem_from_tokens;
}
#define __G_EMBLEM_C__
#include "gioaliasdef.c"

View File

@ -31,7 +31,6 @@
#include "glibintl.h"
#include "gioerror.h"
#include "gioalias.h"
/**
* SECTION:gemblemedicon
@ -350,6 +349,3 @@ g_emblemed_icon_icon_iface_init (GIconIface *iface)
iface->to_tokens = g_emblemed_icon_to_tokens;
iface->from_tokens = g_emblemed_icon_from_tokens;
}
#define __G_EMBLEMED_ICON_C__
#include "gioaliasdef.c"

View File

@ -50,7 +50,6 @@
#include "gioerror.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gfile
@ -7226,6 +7225,3 @@ g_file_supports_thread_contexts (GFile *file)
iface = G_FILE_GET_IFACE (file);
return iface->supports_thread_contexts;
}
#define __G_FILE_C__
#include "gioaliasdef.c"

View File

@ -29,7 +29,6 @@
#include <glib-object.h>
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gfileattribute
@ -1068,6 +1067,3 @@ g_file_attribute_info_list_add (GFileAttributeInfoList *list,
list_update_public (priv);
}
#define __G_FILE_ATTRIBUTE_C__
#include "gioaliasdef.c"

View File

@ -24,7 +24,6 @@
#include "gfiledescriptorbased.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gfiledescriptorbased
@ -72,7 +71,3 @@ g_file_descriptor_based_get_fd (GFileDescriptorBased *fd_based)
return (* iface->get_fd) (fd_based);
}
#define __G_FILE_DESCRIPTOR_BASED_C__
#include "gioaliasdef.c"

View File

@ -30,7 +30,6 @@
#include "gioerror.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gfileenumerator
@ -759,6 +758,3 @@ g_file_enumerator_real_close_finish (GFileEnumerator *enumerator,
g_file_enumerator_real_close_async);
return TRUE;
}
#define __G_FILE_ENUMERATOR_C__
#include "gioaliasdef.c"

View File

@ -31,7 +31,6 @@
#include "gsimpleasyncresult.h"
#include "gioerror.h"
#include "gioalias.h"
/**
* SECTION:gfileicon
@ -383,6 +382,3 @@ g_file_icon_loadable_icon_iface_init (GLoadableIconIface *iface)
iface->load_async = g_file_icon_load_async;
iface->load_finish = g_file_icon_load_finish;
}
#define __G_FILE_ICON_C__
#include "gioaliasdef.c"

View File

@ -62,7 +62,6 @@
#include "gicon.h"
#include "glibintl.h"
#include "gioalias.h"
/* We use this nasty thing, because NULL is a valid attribute matcher (matches nothing) */
#define NO_ATTRIBUTE_MASK ((GFileAttributeMatcher *)1)
@ -2499,6 +2498,3 @@ g_file_attribute_matcher_enumerate_next (GFileAttributeMatcher *matcher)
return get_attribute_for_id (sub_matcher->id);
}
}
#define __G_FILE_INFO_C__
#include "gioaliasdef.c"

View File

@ -31,7 +31,6 @@
#include "gioerror.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gfileinputstream
@ -467,7 +466,3 @@ g_file_input_stream_real_query_info_finish (GFileInputStream *stream,
return NULL;
}
#define __G_FILE_INPUT_STREAM_C__
#include "gioaliasdef.c"

View File

@ -32,7 +32,6 @@
#include "gfileoutputstream.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gfileiostream
@ -672,6 +671,3 @@ g_file_io_stream_class_init (GFileIOStreamClass *klass)
klass->query_info_finish = g_file_io_stream_real_query_info_finish;
klass->get_etag = g_file_io_stream_real_get_etag;
}
#define __G_FILE_IO_STREAM_C__
#include "gioaliasdef.c"

View File

@ -30,7 +30,6 @@
#include "gvfs.h"
#include "glibintl.h"
#include "gioalias.h"
struct _FileChange;
typedef struct _FileChange FileChange;
@ -726,6 +725,3 @@ g_file_monitor_emit_event (GFileMonitor *monitor,
update_rate_limiter_timeout (monitor, limiter->send_virtual_changes_done_at);
}
}
#define __G_FILE_MONITOR_C__
#include "gioaliasdef.c"

View File

@ -30,7 +30,6 @@
#include <string.h>
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gfilenamecompleter
@ -515,6 +514,3 @@ g_filename_completer_set_dirs_only (GFilenameCompleter *completer,
completer->dirs_only = dirs_only;
}
#define __G_FILENAME_COMPLETER_C__
#include "gioaliasdef.c"

View File

@ -31,7 +31,6 @@
#include "gioerror.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gfileoutputstream
@ -570,6 +569,3 @@ g_file_output_stream_real_query_info_finish (GFileOutputStream *stream,
return NULL;
}
#define __G_FILE_OUTPUT_STREAM_C__
#include "gioaliasdef.c"

View File

@ -26,7 +26,6 @@
#include "gsimpleasyncresult.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gfilterinputstream
@ -313,6 +312,3 @@ g_filter_input_stream_close (GInputStream *stream,
return res;
}
#define __G_FILTER_INPUT_STREAM_C__
#include "gioaliasdef.c"

View File

@ -26,7 +26,6 @@
#include "goutputstream.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gfilteroutputstream
@ -307,6 +306,3 @@ g_filter_output_stream_close (GOutputStream *stream,
return res;
}
#define __G_FILTER_OUTPUT_STREAM_C__
#include "gioaliasdef.c"

View File

@ -33,7 +33,6 @@
#include "glibintl.h"
#include "gioalias.h"
/* There versioning of this is implicit, version 1 would be ".1 " */
#define G_ICON_SERIALIZATION_MAGIC0 ". "
@ -450,7 +449,3 @@ g_icon_new_for_string (const gchar *str,
return icon;
}
#define __G_ICON_C__
#include "gioaliasdef.c"

View File

@ -33,7 +33,6 @@
#include "glibintl.h"
#include "gnetworkingprivate.h"
#include "gioalias.h"
/**
* SECTION:ginetaddress
@ -866,6 +865,3 @@ g_inet_address_get_is_mc_site_local (GInetAddress *address)
else
return IN6_IS_ADDR_MC_SITELOCAL (&address->priv->addr.ipv6);
}
#define __G_INET_ADDRESS_C__
#include "gioaliasdef.c"

View File

@ -31,7 +31,6 @@
#include "gioerror.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:ginetsocketaddress
@ -320,6 +319,3 @@ g_inet_socket_address_get_port (GInetSocketAddress *address)
return address->priv->port;
}
#define __G_INET_SOCKET_ADDRESS_C__
#include "gioaliasdef.c"

View File

@ -24,7 +24,6 @@
#include "ginitable.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:ginitable
@ -224,6 +223,3 @@ g_initable_new_valist (GType object_type,
return obj;
}
#define __G_INITABLE_C__
#include "gioaliasdef.c"

View File

@ -31,7 +31,6 @@
#include "gsimpleasyncresult.h"
#include "gioerror.h"
#include "gioalias.h"
/**
* SECTION:ginputstream
@ -1204,6 +1203,3 @@ g_input_stream_real_close_finish (GInputStream *stream,
g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == g_input_stream_real_close_async);
return TRUE;
}
#define __G_INPUT_STREAM_C__
#include "gioaliasdef.c"

View File

@ -1,7 +1,5 @@
/* This file lists all exported symbols. It is used to generate
* the gio.def file used to control exports on Windows and the
* gioalias.h/gioaliasdef.c files used to avoid PLT entries for
* internal uses of exported functions (see makegioalias.pl).
* the gio.def file used to control exports on Windows.
*
* Every symbol must be included in the right
* #ifdef IN_HEADER(sym) #endif and

View File

@ -1,6 +1,5 @@
/*** BEGIN file-header ***/
#include <gio.h>
#include "gioalias.h"
/*** END file-header ***/
@ -35,8 +34,3 @@ GType
}
/*** END value-tail ***/
/*** BEGIN file-tail ***/
#define __GIO_ENUM_TYPES_C__
#include "gioaliasdef.c"
/*** END file-tail ***/

View File

@ -24,7 +24,6 @@
#include <errno.h>
#include "gioerror.h"
#include "gioalias.h"
/**
* SECTION:gioerror
@ -232,6 +231,3 @@ g_io_error_from_win32_error (gint error_code)
}
#endif
#define __G_IO_ERROR_C__
#include "gioaliasdef.c"

View File

@ -34,7 +34,6 @@
#ifdef G_OS_UNIX
#include "gdesktopappinfo.h"
#endif
#include "gioalias.h"
#include <glib/gstdio.h>
/**
@ -896,6 +895,3 @@ g_io_extension_get_priority (GIOExtension *extension)
{
return extension->priority;
}
#define __G_IO_MODULE_C__
#include "gioaliasdef.c"

View File

@ -25,7 +25,6 @@
#include "gioscheduler.h"
#include "gcancellable.h"
#include "gioalias.h"
/**
* SECTION:gioscheduler
@ -460,7 +459,3 @@ g_io_scheduler_job_send_to_mainloop_async (GIOSchedulerJob *job,
g_source_attach (source, job->context);
g_source_unref (source);
}
#define __G_IO_SCHEDULER_C__
#include "gioaliasdef.c"

View File

@ -30,7 +30,6 @@
#include <gio/gsimpleasyncresult.h>
#include <gio/gasyncresult.h>
#include "gioalias.h"
G_DEFINE_TYPE (GIOStream, g_io_stream, G_TYPE_OBJECT);
@ -609,6 +608,3 @@ g_io_stream_real_close_finish (GIOStream *stream,
g_io_stream_real_close_async);
return TRUE;
}
#define __G_IO_STREAM_C__
#include "gioaliasdef.c"

View File

@ -32,7 +32,6 @@
#include "gsimplepermission.h"
#include "gsettingsbackend.h"
#include "gioalias.h"
#define G_TYPE_KEYFILE_SETTINGS_BACKEND (g_keyfile_settings_backend_get_type ())
#define G_KEYFILE_SETTINGS_BACKEND(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \
@ -678,6 +677,3 @@ g_keyfile_settings_backend_new (const gchar *filename,
return G_SETTINGS_BACKEND (kfsb);
}
#define __G_KEYFILE_SETTINGS_BACKEND_C__
#include "gioaliasdef.c"

View File

@ -27,7 +27,6 @@
#include "gloadableicon.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gloadableicon
@ -239,6 +238,3 @@ g_loadable_icon_real_load_finish (GLoadableIcon *icon,
return g_object_ref (data->stream);
}
#define __G_LOADABLE_ICON_C__
#include "gioaliasdef.c"

View File

@ -31,7 +31,6 @@
#include <string.h>
#include "gioalias.h"
enum
{
@ -313,6 +312,3 @@ g_local_directory_monitor_cancel (GFileMonitor *monitor)
return TRUE;
}
#define __G_LOCAL_DIRECTORY_MONITOR_C__
#include "gioaliasdef.c"

View File

@ -105,7 +105,6 @@
#endif
#endif
#include "gioalias.h"
static void g_local_file_file_iface_init (GFileIface *iface);

View File

@ -31,7 +31,6 @@
#include <stdlib.h>
#include "glibintl.h"
#include "gioalias.h"
#define CHUNK_SIZE 1000
@ -387,5 +386,3 @@ g_local_file_enumerator_close (GFileEnumerator *enumerator,
return TRUE;
}

View File

@ -94,7 +94,6 @@
#include "gcontenttype.h"
#include "gcontenttypeprivate.h"
#include "gioalias.h"
struct ThumbMD5Context {
guint32 buf[4];

View File

@ -46,7 +46,6 @@
#include <io.h>
#endif
#include "gioalias.h"
#ifdef G_OS_UNIX

View File

@ -35,7 +35,6 @@
#include "gfiledescriptorbased.h"
#endif
#include "gioalias.h"
#define g_local_file_io_stream_get_type _g_local_file_io_stream_get_type
G_DEFINE_TYPE (GLocalFileIOStream, g_local_file_io_stream, G_TYPE_FILE_IO_STREAM);

View File

@ -30,7 +30,6 @@
#include <string.h>
#include "gioalias.h"
enum
{
@ -223,6 +222,3 @@ _g_local_file_monitor_new (const char *pathname,
return monitor;
}
#define __G_LOCAL_FILE_MONITOR_C__
#include "gioaliasdef.c"

View File

@ -57,7 +57,6 @@
#define O_BINARY 0
#endif
#include "gioalias.h"
#ifdef G_OS_UNIX
static void g_file_descriptor_based_iface_init (GFileDescriptorBasedIface *iface);

View File

@ -33,7 +33,6 @@
#endif
#include <string.h>
#include "gioalias.h"
struct _GLocalVfs
{

View File

@ -29,7 +29,6 @@
#include "gioerror.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gmemoryinputstream
@ -521,6 +520,3 @@ g_memory_input_stream_truncate (GSeekable *seekable,
_("Cannot truncate GMemoryInputStream"));
return FALSE;
}
#define __G_MEMORY_INPUT_STREAM_C__
#include "gioaliasdef.c"

View File

@ -31,7 +31,6 @@
#include "string.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gmemoryoutputstream
@ -768,6 +767,3 @@ g_memory_output_stream_truncate (GSeekable *seekable,
return TRUE;
}
#define __G_MEMORY_OUTPUT_STREAM_C__
#include "gioaliasdef.c"

View File

@ -26,7 +26,6 @@
#include "gsettingsbackend.h"
#include "giomodule.h"
#include "gioalias.h"
#define G_TYPE_MEMORY_SETTINGS_BACKEND (g_memory_settings_backend_get_type())
#define G_MEMORY_SETTINGS_BACKEND(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \

View File

@ -34,7 +34,6 @@
#include "gioerror.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gmount
@ -1010,6 +1009,3 @@ g_mount_unshadow (GMount *mount)
g_warning ("Shadow ref count on GMount is negative");
G_UNLOCK (priv_lock);
}
#define __G_MOUNT_C__
#include "gioaliasdef.c"

View File

@ -29,7 +29,6 @@
#include "gio-marshal.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gmountoperation
@ -708,6 +707,3 @@ g_mount_operation_reply (GMountOperation *op,
g_return_if_fail (G_IS_MOUNT_OPERATION (op));
g_signal_emit (op, signals[REPLY], 0, result);
}
#define __G_MOUNT_OPERATION_C__
#include "gioaliasdef.c"

View File

@ -27,7 +27,6 @@
#include <glib.h>
#include "gnativevolumemonitor.h"
#include "gioalias.h"
G_DEFINE_ABSTRACT_TYPE (GNativeVolumeMonitor, g_native_volume_monitor, G_TYPE_VOLUME_MONITOR);
@ -51,6 +50,3 @@ static void
g_native_volume_monitor_init (GNativeVolumeMonitor *native_monitor)
{
}
#define __G_NATIVE_VOLUME_MONITOR_C__
#include "gioaliasdef.c"

View File

@ -38,7 +38,6 @@
#include <string.h>
#include "gioalias.h"
/**
* SECTION:gnetworkaddress
@ -615,6 +614,3 @@ g_network_address_connectable_enumerate (GSocketConnectable *connectable)
return (GSocketAddressEnumerator *)addr_enum;
}
#define __G_NETWORK_ADDRESS_C__
#include "gioaliasdef.c"

View File

@ -37,7 +37,6 @@
#include <stdlib.h>
#include <string.h>
#include "gioalias.h"
/**
* SECTION:gnetworkservice
@ -660,6 +659,3 @@ g_network_service_connectable_enumerate (GSocketConnectable *connectable)
return (GSocketAddressEnumerator *)srv_enum;
}
#define __G_NETWORK_SERVICE_C__
#include "gioaliasdef.c"

View File

@ -72,4 +72,3 @@ _g_application_platform_activate (GApplication *app,
{
exit (0);
}

View File

@ -24,7 +24,6 @@
#include "gnullsettingsbackend.h"
#include "gsimplepermission.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), \

View File

@ -29,7 +29,6 @@
#include "gioerror.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:goutputstream
@ -1473,6 +1472,3 @@ g_output_stream_real_close_finish (GOutputStream *stream,
g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == g_output_stream_real_close_async);
return TRUE;
}
#define __G_OUTPUT_STREAM_C__
#include "gioaliasdef.c"

View File

@ -24,7 +24,6 @@
#include "gpermission.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gpermission
@ -414,6 +413,3 @@ g_permission_class_init (GPermissionClass *class)
g_type_class_add_private (class, sizeof (GPermissionPrivate));
}
#define __G_PERMISSION_C__
#include "gioaliasdef.c"

View File

@ -28,7 +28,6 @@
#include "gfilemonitor.h"
#include "gfileinfo.h"
#include "gioalias.h"
static gboolean g_poll_file_monitor_cancel (GFileMonitor* monitor);
static void schedule_poll_timeout (GPollFileMonitor* poll_monitor);

View File

@ -42,7 +42,6 @@
#include <stdlib.h>
#include "gioalias.h"
/**
* SECTION:gresolver
@ -930,6 +929,3 @@ _g_resolver_targets_from_DnsQuery (const gchar *rrname,
}
#endif
#define __G_RESOLVER_C__
#include "gioaliasdef.c"

View File

@ -24,7 +24,6 @@
#include "gseekable.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gseekable
@ -174,6 +173,3 @@ g_seekable_truncate (GSeekable *seekable,
return (* iface->truncate_fn) (seekable, offset, cancellable, error);
}
#define __G_SEEKABLE_C__
#include "gioaliasdef.c"

View File

@ -37,7 +37,6 @@
#include <string.h>
#include "gioalias.h"
#include "strinfo.c"
@ -2650,7 +2649,5 @@ g_settings_unbind (gpointer object,
}
/* Epilogue {{{1 */
#define __G_SETTINGS_C__
#include "gioaliasdef.c"
/* vim:set foldmethod=marker: */

Some files were not shown because too many files have changed in this diff Show More