mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2026-10-24 00:49:00 +03:00
Merge branch 'const-shenanigans' into 'main'
Drop G_GNUC_CONST Closes #3984 See merge request GNOME/glib!5223
This commit is contained in:
@@ -328,7 +328,7 @@ A C header template file will typically look like this::
|
||||
/*** END file-production ***/
|
||||
|
||||
/*** BEGIN value-header ***/
|
||||
GType @enum_name@_get_type (void) G_GNUC_CONST;
|
||||
GType @enum_name@_get_type (void);
|
||||
#define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type ())
|
||||
/*** END value-header ***/
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ struct _GActionInterface
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_2_30
|
||||
GType g_action_get_type (void) G_GNUC_CONST;
|
||||
GType g_action_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
const gchar * g_action_get_name (GAction *action);
|
||||
|
||||
@@ -97,7 +97,7 @@ struct _GActionGroupInterface
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_action_group_get_type (void) G_GNUC_CONST;
|
||||
GType g_action_group_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
gboolean g_action_group_has_action (GActionGroup *action_group,
|
||||
|
||||
@@ -75,7 +75,7 @@ struct _GActionEntry
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_2_32
|
||||
GType g_action_map_get_type (void) G_GNUC_CONST;
|
||||
GType g_action_map_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_2_32
|
||||
GAction * g_action_map_lookup_action (GActionMap *action_map,
|
||||
|
||||
@@ -155,7 +155,7 @@ struct _GAppInfoIface
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_app_info_get_type (void) G_GNUC_CONST;
|
||||
GType g_app_info_get_type (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GAppInfo * g_app_info_create_from_commandline (const char *commandline,
|
||||
const char *application_name,
|
||||
@@ -332,7 +332,7 @@ struct _GAppLaunchContextClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_app_launch_context_get_type (void) G_GNUC_CONST;
|
||||
GType g_app_launch_context_get_type (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GAppLaunchContext *g_app_launch_context_new (void);
|
||||
|
||||
|
||||
@@ -124,7 +124,7 @@ struct _GApplicationClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_application_get_type (void) G_GNUC_CONST;
|
||||
GType g_application_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
gboolean g_application_id_is_valid (const gchar *application_id);
|
||||
|
||||
@@ -73,7 +73,7 @@ struct _GApplicationCommandLineClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_application_command_line_get_type (void) G_GNUC_CONST;
|
||||
GType g_application_command_line_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
gchar ** g_application_command_line_get_arguments (GApplicationCommandLine *cmdline,
|
||||
|
||||
@@ -68,7 +68,7 @@ struct _GAsyncInitableIface
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_async_initable_get_type (void) G_GNUC_CONST;
|
||||
GType g_async_initable_get_type (void);
|
||||
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
|
||||
@@ -62,7 +62,7 @@ struct _GAsyncResultIface
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_async_result_get_type (void) G_GNUC_CONST;
|
||||
GType g_async_result_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
gpointer g_async_result_get_user_data (GAsyncResult *res);
|
||||
|
||||
@@ -80,7 +80,7 @@ struct _GBufferedInputStreamClass
|
||||
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_buffered_input_stream_get_type (void) G_GNUC_CONST;
|
||||
GType g_buffered_input_stream_get_type (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GInputStream* g_buffered_input_stream_new (GInputStream *base_stream);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
|
||||
@@ -61,7 +61,7 @@ struct _GBufferedOutputStreamClass
|
||||
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_buffered_output_stream_get_type (void) G_GNUC_CONST;
|
||||
GType g_buffered_output_stream_get_type (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GOutputStream* g_buffered_output_stream_new (GOutputStream *base_stream);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
|
||||
@@ -36,7 +36,7 @@ G_BEGIN_DECLS
|
||||
#define G_IS_BYTES_ICON(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), G_TYPE_BYTES_ICON))
|
||||
|
||||
GIO_AVAILABLE_IN_2_38
|
||||
GType g_bytes_icon_get_type (void) G_GNUC_CONST;
|
||||
GType g_bytes_icon_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_2_38
|
||||
GIcon * g_bytes_icon_new (GBytes *bytes);
|
||||
|
||||
@@ -65,7 +65,7 @@ struct _GCancellableClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_cancellable_get_type (void) G_GNUC_CONST;
|
||||
GType g_cancellable_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GCancellable *g_cancellable_new (void);
|
||||
|
||||
@@ -46,7 +46,7 @@ struct _GCharsetConverterClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_charset_converter_get_type (void) G_GNUC_CONST;
|
||||
GType g_charset_converter_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GCharsetConverter *g_charset_converter_new (const gchar *to_charset,
|
||||
|
||||
@@ -69,7 +69,7 @@ struct _GConverterIface
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_converter_get_type (void) G_GNUC_CONST;
|
||||
GType g_converter_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GConverterResult g_converter_convert (GConverter *converter,
|
||||
|
||||
@@ -64,7 +64,7 @@ struct _GConverterInputStreamClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_converter_input_stream_get_type (void) G_GNUC_CONST;
|
||||
GType g_converter_input_stream_get_type (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GInputStream *g_converter_input_stream_new (GInputStream *base_stream,
|
||||
GConverter *converter);
|
||||
|
||||
@@ -64,7 +64,7 @@ struct _GConverterOutputStreamClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_converter_output_stream_get_type (void) G_GNUC_CONST;
|
||||
GType g_converter_output_stream_get_type (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GOutputStream *g_converter_output_stream_new (GOutputStream *base_stream,
|
||||
GConverter *converter);
|
||||
|
||||
@@ -47,7 +47,7 @@ G_BEGIN_DECLS
|
||||
typedef struct _GCredentialsClass GCredentialsClass;
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_credentials_get_type (void) G_GNUC_CONST;
|
||||
GType g_credentials_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GCredentials *g_credentials_new (void);
|
||||
|
||||
@@ -63,7 +63,7 @@ struct _GDataInputStreamClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_data_input_stream_get_type (void) G_GNUC_CONST;
|
||||
GType g_data_input_stream_get_type (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GDataInputStream * g_data_input_stream_new (GInputStream *base_stream);
|
||||
|
||||
|
||||
@@ -65,7 +65,7 @@ struct _GDataOutputStreamClass
|
||||
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_data_output_stream_get_type (void) G_GNUC_CONST;
|
||||
GType g_data_output_stream_get_type (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GDataOutputStream * g_data_output_stream_new (GOutputStream *base_stream);
|
||||
|
||||
|
||||
@@ -278,9 +278,7 @@ class HeaderCodeGenerator:
|
||||
self.outfile.write("\n")
|
||||
if self.symbol_decorator is not None:
|
||||
self.outfile.write("%s\n" % self.symbol_decorator)
|
||||
self.outfile.write(
|
||||
"GType %s_get_type (void) G_GNUC_CONST;\n" % (i.name_lower)
|
||||
)
|
||||
self.outfile.write("GType %s_get_type (void);\n" % (i.name_lower))
|
||||
self.outfile.write("\n")
|
||||
if self.symbol_decorator is not None:
|
||||
self.outfile.write("%s\n" % self.symbol_decorator)
|
||||
@@ -509,9 +507,7 @@ class HeaderCodeGenerator:
|
||||
self.outfile.write("\n")
|
||||
if self.symbol_decorator is not None:
|
||||
self.outfile.write("%s\n" % self.symbol_decorator)
|
||||
self.outfile.write(
|
||||
"GType %s_proxy_get_type (void) G_GNUC_CONST;\n" % (i.name_lower)
|
||||
)
|
||||
self.outfile.write("GType %s_proxy_get_type (void);\n" % (i.name_lower))
|
||||
self.outfile.write("\n")
|
||||
if self.generate_autocleanup in ("objects", "all"):
|
||||
self.outfile.write("#if GLIB_CHECK_VERSION(2, 44, 0)\n")
|
||||
@@ -655,9 +651,7 @@ class HeaderCodeGenerator:
|
||||
self.outfile.write("\n")
|
||||
if self.symbol_decorator is not None:
|
||||
self.outfile.write("%s\n" % self.symbol_decorator)
|
||||
self.outfile.write(
|
||||
"GType %s_skeleton_get_type (void) G_GNUC_CONST;\n" % (i.name_lower)
|
||||
)
|
||||
self.outfile.write("GType %s_skeleton_get_type (void);\n" % (i.name_lower))
|
||||
self.outfile.write("\n")
|
||||
if self.generate_autocleanup in ("objects", "all"):
|
||||
self.outfile.write("#if GLIB_CHECK_VERSION(2, 44, 0)\n")
|
||||
@@ -714,7 +708,7 @@ class HeaderCodeGenerator:
|
||||
if self.symbol_decorator is not None:
|
||||
self.outfile.write("%s\n" % self.symbol_decorator)
|
||||
self.outfile.write(
|
||||
"GType %sobject_get_type (void) G_GNUC_CONST;\n" "\n" % (self.ns_lower)
|
||||
"GType %sobject_get_type (void);\n" "\n" % (self.ns_lower)
|
||||
)
|
||||
if self.generate_autocleanup == "all":
|
||||
self.outfile.write("#if GLIB_CHECK_VERSION(2, 44, 0)\n")
|
||||
@@ -806,7 +800,7 @@ class HeaderCodeGenerator:
|
||||
if self.symbol_decorator is not None:
|
||||
self.outfile.write("%s\n" % self.symbol_decorator)
|
||||
self.outfile.write(
|
||||
"GType %sobject_proxy_get_type (void) G_GNUC_CONST;\n" % (self.ns_lower)
|
||||
"GType %sobject_proxy_get_type (void);\n" % (self.ns_lower)
|
||||
)
|
||||
self.outfile.write("\n")
|
||||
if self.generate_autocleanup in ("objects", "all"):
|
||||
@@ -877,8 +871,7 @@ class HeaderCodeGenerator:
|
||||
if self.symbol_decorator is not None:
|
||||
self.outfile.write("%s\n" % self.symbol_decorator)
|
||||
self.outfile.write(
|
||||
"GType %sobject_skeleton_get_type (void) G_GNUC_CONST;\n"
|
||||
% (self.ns_lower)
|
||||
"GType %sobject_skeleton_get_type (void);\n" % (self.ns_lower)
|
||||
)
|
||||
self.outfile.write("\n")
|
||||
if self.generate_autocleanup in ("objects", "all"):
|
||||
@@ -978,8 +971,7 @@ class HeaderCodeGenerator:
|
||||
if self.symbol_decorator is not None:
|
||||
self.outfile.write("%s\n" % self.symbol_decorator)
|
||||
self.outfile.write(
|
||||
"GType %sobject_manager_client_get_type (void) G_GNUC_CONST;\n"
|
||||
% (self.ns_lower)
|
||||
"GType %sobject_manager_client_get_type (void);\n" % (self.ns_lower)
|
||||
)
|
||||
self.outfile.write("\n")
|
||||
if self.symbol_decorator is not None:
|
||||
|
||||
@@ -44,7 +44,7 @@ G_BEGIN_DECLS
|
||||
G_TYPE_DBUS_ACTION_GROUP, GDBusActionGroupClass))
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_dbus_action_group_get_type (void) G_GNUC_CONST;
|
||||
GType g_dbus_action_group_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_2_32
|
||||
GDBusActionGroup * g_dbus_action_group_get (GDBusConnection *connection,
|
||||
|
||||
@@ -54,7 +54,7 @@ struct _GDBusAuth
|
||||
GDBusAuthPrivate *priv;
|
||||
};
|
||||
|
||||
GType _g_dbus_auth_get_type (void) G_GNUC_CONST;
|
||||
GType _g_dbus_auth_get_type (void);
|
||||
GDBusAuth *_g_dbus_auth_new (GIOStream *stream);
|
||||
|
||||
/* TODO: need a way to set allowed authentication mechanisms */
|
||||
|
||||
@@ -110,7 +110,7 @@ struct _GDBusAuthMechanism
|
||||
GDBusAuthMechanismPrivate *priv;
|
||||
};
|
||||
|
||||
GType _g_dbus_auth_mechanism_get_type (void) G_GNUC_CONST;
|
||||
GType _g_dbus_auth_mechanism_get_type (void);
|
||||
|
||||
gint _g_dbus_auth_mechanism_get_priority (GType mechanism_type);
|
||||
const gchar *_g_dbus_auth_mechanism_get_name (GType mechanism_type);
|
||||
|
||||
@@ -55,7 +55,7 @@ struct _GDBusAuthMechanismAnon
|
||||
GDBusAuthMechanismAnonPrivate *priv;
|
||||
};
|
||||
|
||||
GType _g_dbus_auth_mechanism_anon_get_type (void) G_GNUC_CONST;
|
||||
GType _g_dbus_auth_mechanism_anon_get_type (void);
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
@@ -55,7 +55,7 @@ struct _GDBusAuthMechanismExternal
|
||||
GDBusAuthMechanismExternalPrivate *priv;
|
||||
};
|
||||
|
||||
GType _g_dbus_auth_mechanism_external_get_type (void) G_GNUC_CONST;
|
||||
GType _g_dbus_auth_mechanism_external_get_type (void);
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
@@ -55,7 +55,7 @@ struct _GDBusAuthMechanismSha1
|
||||
GDBusAuthMechanismSha1Private *priv;
|
||||
};
|
||||
|
||||
GType _g_dbus_auth_mechanism_sha1_get_type (void) G_GNUC_CONST;
|
||||
GType _g_dbus_auth_mechanism_sha1_get_type (void);
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
@@ -36,7 +36,7 @@ G_BEGIN_DECLS
|
||||
#define G_IS_DBUS_AUTH_OBSERVER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_DBUS_AUTH_OBSERVER))
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_dbus_auth_observer_get_type (void) G_GNUC_CONST;
|
||||
GType g_dbus_auth_observer_get_type (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GDBusAuthObserver *g_dbus_auth_observer_new (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
|
||||
@@ -36,7 +36,7 @@ G_BEGIN_DECLS
|
||||
#define G_IS_DBUS_CONNECTION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_DBUS_CONNECTION))
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_dbus_connection_get_type (void) G_GNUC_CONST;
|
||||
GType g_dbus_connection_get_type (void);
|
||||
|
||||
/* ---------------------------------------------------------------------------------------------------- */
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ typedef struct _GDBusDaemonClass GDBusDaemonClass;
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GDBusDaemon, g_object_unref)
|
||||
|
||||
GType _g_dbus_daemon_get_type (void) G_GNUC_CONST;
|
||||
GType _g_dbus_daemon_get_type (void);
|
||||
|
||||
GDBusDaemon *_g_dbus_daemon_new (const char *address,
|
||||
GCancellable *cancellable,
|
||||
|
||||
@@ -59,7 +59,7 @@ struct _GDBusInterfaceIface
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_dbus_interface_get_type (void) G_GNUC_CONST;
|
||||
GType g_dbus_interface_get_type (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GDBusInterfaceInfo *g_dbus_interface_get_info (GDBusInterface *interface_);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
|
||||
@@ -87,7 +87,7 @@ struct _GDBusInterfaceSkeletonClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_dbus_interface_skeleton_get_type (void) G_GNUC_CONST;
|
||||
GType g_dbus_interface_skeleton_get_type (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GDBusInterfaceSkeletonFlags g_dbus_interface_skeleton_get_flags (GDBusInterfaceSkeleton *interface_);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
|
||||
@@ -308,19 +308,19 @@ void g_dbus_annotation_info_unref (GDBusAnnotationInfo
|
||||
#define G_TYPE_DBUS_ANNOTATION_INFO (g_dbus_annotation_info_get_type ())
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_dbus_node_info_get_type (void) G_GNUC_CONST;
|
||||
GType g_dbus_node_info_get_type (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_dbus_interface_info_get_type (void) G_GNUC_CONST;
|
||||
GType g_dbus_interface_info_get_type (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_dbus_method_info_get_type (void) G_GNUC_CONST;
|
||||
GType g_dbus_method_info_get_type (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_dbus_signal_info_get_type (void) G_GNUC_CONST;
|
||||
GType g_dbus_signal_info_get_type (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_dbus_property_info_get_type (void) G_GNUC_CONST;
|
||||
GType g_dbus_property_info_get_type (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_dbus_arg_info_get_type (void) G_GNUC_CONST;
|
||||
GType g_dbus_arg_info_get_type (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_dbus_annotation_info_get_type (void) G_GNUC_CONST;
|
||||
GType g_dbus_annotation_info_get_type (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ G_BEGIN_DECLS
|
||||
typedef struct _GDBusMenuModel GDBusMenuModel;
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_dbus_menu_model_get_type (void) G_GNUC_CONST;
|
||||
GType g_dbus_menu_model_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GDBusMenuModel * g_dbus_menu_model_get (GDBusConnection *connection,
|
||||
|
||||
@@ -36,7 +36,7 @@ G_BEGIN_DECLS
|
||||
#define G_IS_DBUS_MESSAGE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_DBUS_MESSAGE))
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_dbus_message_get_type (void) G_GNUC_CONST;
|
||||
GType g_dbus_message_get_type (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GDBusMessage *g_dbus_message_new (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
|
||||
@@ -71,7 +71,7 @@ G_BEGIN_DECLS
|
||||
#define G_DBUS_METHOD_INVOCATION_UNHANDLED FALSE GIO_AVAILABLE_MACRO_IN_2_68
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_dbus_method_invocation_get_type (void) G_GNUC_CONST;
|
||||
GType g_dbus_method_invocation_get_type (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
const gchar *g_dbus_method_invocation_get_sender (GDBusMethodInvocation *invocation);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
|
||||
@@ -66,7 +66,7 @@ struct _GDBusObjectIface
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_dbus_object_get_type (void) G_GNUC_CONST;
|
||||
GType g_dbus_object_get_type (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
const gchar *g_dbus_object_get_object_path (GDBusObject *object);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
|
||||
@@ -78,7 +78,7 @@ struct _GDBusObjectManagerIface
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_dbus_object_manager_get_type (void) G_GNUC_CONST;
|
||||
GType g_dbus_object_manager_get_type (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
const gchar *g_dbus_object_manager_get_object_path (GDBusObjectManager *manager);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
|
||||
@@ -77,7 +77,7 @@ struct _GDBusObjectManagerClientClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_dbus_object_manager_client_get_type (void) G_GNUC_CONST;
|
||||
GType g_dbus_object_manager_client_get_type (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
void g_dbus_object_manager_client_new (GDBusConnection *connection,
|
||||
GDBusObjectManagerClientFlags flags,
|
||||
|
||||
@@ -61,7 +61,7 @@ struct _GDBusObjectManagerServerClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_dbus_object_manager_server_get_type (void) G_GNUC_CONST;
|
||||
GType g_dbus_object_manager_server_get_type (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GDBusObjectManagerServer *g_dbus_object_manager_server_new (const gchar *object_path);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
|
||||
@@ -61,7 +61,7 @@ struct _GDBusObjectProxyClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_dbus_object_proxy_get_type (void) G_GNUC_CONST;
|
||||
GType g_dbus_object_proxy_get_type (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GDBusObjectProxy *g_dbus_object_proxy_new (GDBusConnection *connection,
|
||||
const gchar *object_path);
|
||||
|
||||
@@ -67,7 +67,7 @@ struct _GDBusObjectSkeletonClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_dbus_object_skeleton_get_type (void) G_GNUC_CONST;
|
||||
GType g_dbus_object_skeleton_get_type (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GDBusObjectSkeleton *g_dbus_object_skeleton_new (const gchar *object_path);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
|
||||
@@ -79,7 +79,7 @@ struct _GDBusProxyClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_dbus_proxy_get_type (void) G_GNUC_CONST;
|
||||
GType g_dbus_proxy_get_type (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
void g_dbus_proxy_new (GDBusConnection *connection,
|
||||
GDBusProxyFlags flags,
|
||||
|
||||
@@ -36,7 +36,7 @@ G_BEGIN_DECLS
|
||||
#define G_IS_DBUS_SERVER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_DBUS_SERVER))
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_dbus_server_get_type (void) G_GNUC_CONST;
|
||||
GType g_dbus_server_get_type (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GDBusServer *g_dbus_server_new_sync (const gchar *address,
|
||||
GDBusServerFlags flags,
|
||||
|
||||
@@ -46,7 +46,7 @@ struct _GDesktopAppInfoClass
|
||||
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_desktop_app_info_get_type (void) G_GNUC_CONST;
|
||||
GType g_desktop_app_info_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GDesktopAppInfo *g_desktop_app_info_new_from_filename (const char *filename);
|
||||
@@ -144,7 +144,7 @@ struct _GDesktopAppInfoLookupIface
|
||||
};
|
||||
|
||||
GIO_DEPRECATED
|
||||
GType g_desktop_app_info_lookup_get_type (void) G_GNUC_CONST;
|
||||
GType g_desktop_app_info_lookup_get_type (void);
|
||||
|
||||
GIO_DEPRECATED
|
||||
GAppInfo *g_desktop_app_info_lookup_get_default_for_uri_scheme (GDesktopAppInfoLookup *lookup,
|
||||
|
||||
@@ -171,7 +171,7 @@ struct _GDriveIface
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_drive_get_type (void) G_GNUC_CONST;
|
||||
GType g_drive_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
char * g_drive_get_name (GDrive *drive);
|
||||
|
||||
@@ -51,7 +51,7 @@ struct _GDtlsClientConnectionInterface
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_2_48
|
||||
GType g_dtls_client_connection_get_type (void) G_GNUC_CONST;
|
||||
GType g_dtls_client_connection_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_2_48
|
||||
GDatagramBased *g_dtls_client_connection_new (GDatagramBased *base_socket,
|
||||
|
||||
@@ -108,7 +108,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_2_48
|
||||
GType g_dtls_connection_get_type (void) G_GNUC_CONST;
|
||||
GType g_dtls_connection_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_2_48
|
||||
void g_dtls_connection_set_database (GDtlsConnection *conn,
|
||||
|
||||
@@ -51,7 +51,7 @@ struct _GDtlsServerConnectionInterface
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_2_48
|
||||
GType g_dtls_server_connection_get_type (void) G_GNUC_CONST;
|
||||
GType g_dtls_server_connection_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_2_48
|
||||
GDatagramBased *g_dtls_server_connection_new (GDatagramBased *base_socket,
|
||||
|
||||
@@ -42,7 +42,7 @@ struct _GDummyFileClass
|
||||
GObjectClass parent_class;
|
||||
};
|
||||
|
||||
GType _g_dummy_file_get_type (void) G_GNUC_CONST;
|
||||
GType _g_dummy_file_get_type (void);
|
||||
|
||||
GFile * _g_dummy_file_new (const char *uri);
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ typedef struct _GEmblem GEmblem;
|
||||
typedef struct _GEmblemClass GEmblemClass;
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_emblem_get_type (void) G_GNUC_CONST;
|
||||
GType g_emblem_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GEmblem *g_emblem_new (GIcon *icon);
|
||||
|
||||
@@ -58,7 +58,7 @@ struct _GEmblemedIconClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_emblemed_icon_get_type (void) G_GNUC_CONST;
|
||||
GType g_emblemed_icon_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GIcon *g_emblemed_icon_new (GIcon *icon,
|
||||
|
||||
@@ -605,7 +605,7 @@ struct _GFileIface
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_file_get_type (void) G_GNUC_CONST;
|
||||
GType g_file_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GFile * g_file_new_for_path (const char *path);
|
||||
|
||||
@@ -52,7 +52,7 @@ struct _GFileDescriptorBasedIface
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_file_descriptor_based_get_type (void) G_GNUC_CONST;
|
||||
GType g_file_descriptor_based_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
int g_file_descriptor_based_get_fd (GFileDescriptorBased *fd_based);
|
||||
|
||||
@@ -92,7 +92,7 @@ struct _GFileEnumeratorClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_file_enumerator_get_type (void) G_GNUC_CONST;
|
||||
GType g_file_enumerator_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GFileInfo *g_file_enumerator_next_file (GFileEnumerator *enumerator,
|
||||
|
||||
@@ -41,7 +41,7 @@ G_BEGIN_DECLS
|
||||
typedef struct _GFileIconClass GFileIconClass;
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_file_icon_get_type (void) G_GNUC_CONST;
|
||||
GType g_file_icon_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GIcon * g_file_icon_new (GFile *file);
|
||||
|
||||
@@ -1300,7 +1300,7 @@ typedef struct _GFileInfoClass GFileInfoClass;
|
||||
#define G_FILE_ATTRIBUTE_RECENT_MODIFIED "recent::modified" /* int64 (time_t) */
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_file_info_get_type (void) G_GNUC_CONST;
|
||||
GType g_file_info_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GFileInfo * g_file_info_new (void);
|
||||
@@ -1523,7 +1523,7 @@ void g_file_info_set_sort_order (GFileInfo *info,
|
||||
|
||||
#define G_TYPE_FILE_ATTRIBUTE_MATCHER (g_file_attribute_matcher_get_type ())
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_file_attribute_matcher_get_type (void) G_GNUC_CONST;
|
||||
GType g_file_attribute_matcher_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GFileAttributeMatcher *g_file_attribute_matcher_new (const char *attributes);
|
||||
|
||||
@@ -84,7 +84,7 @@ struct _GFileInputStreamClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_file_input_stream_get_type (void) G_GNUC_CONST;
|
||||
GType g_file_input_stream_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GFileInfo *g_file_input_stream_query_info (GFileInputStream *stream,
|
||||
|
||||
@@ -89,7 +89,7 @@ struct _GFileIOStreamClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_file_io_stream_get_type (void) G_GNUC_CONST;
|
||||
GType g_file_io_stream_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GFileInfo *g_file_io_stream_query_info (GFileIOStream *stream,
|
||||
|
||||
@@ -72,7 +72,7 @@ struct _GFileMonitorClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_file_monitor_get_type (void) G_GNUC_CONST;
|
||||
GType g_file_monitor_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
gboolean g_file_monitor_cancel (GFileMonitor *monitor);
|
||||
|
||||
@@ -56,7 +56,7 @@ struct _GFilenameCompleterClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_filename_completer_get_type (void) G_GNUC_CONST;
|
||||
GType g_filename_completer_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GFilenameCompleter *g_filename_completer_new (void);
|
||||
|
||||
@@ -89,7 +89,7 @@ struct _GFileOutputStreamClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_file_output_stream_get_type (void) G_GNUC_CONST;
|
||||
GType g_file_output_stream_get_type (void);
|
||||
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
|
||||
@@ -61,7 +61,7 @@ struct _GFilterInputStreamClass
|
||||
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_filter_input_stream_get_type (void) G_GNUC_CONST;
|
||||
GType g_filter_input_stream_get_type (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GInputStream * g_filter_input_stream_get_base_stream (GFilterInputStream *stream);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
|
||||
@@ -61,7 +61,7 @@ struct _GFilterOutputStreamClass
|
||||
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_filter_output_stream_get_type (void) G_GNUC_CONST;
|
||||
GType g_filter_output_stream_get_type (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GOutputStream * g_filter_output_stream_get_base_stream (GFilterOutputStream *stream);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
|
||||
@@ -105,7 +105,7 @@ struct _GIconIface
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_icon_get_type (void) G_GNUC_CONST;
|
||||
GType g_icon_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
guint g_icon_hash (gconstpointer icon);
|
||||
|
||||
@@ -59,7 +59,7 @@ struct _GInetAddressClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_inet_address_get_type (void) G_GNUC_CONST;
|
||||
GType g_inet_address_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GInetAddress * g_inet_address_new_from_string (const gchar *string);
|
||||
|
||||
@@ -54,7 +54,7 @@ struct _GInetAddressMaskClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_2_32
|
||||
GType g_inet_address_mask_get_type (void) G_GNUC_CONST;
|
||||
GType g_inet_address_mask_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_2_32
|
||||
GInetAddressMask *g_inet_address_mask_new (GInetAddress *addr,
|
||||
|
||||
@@ -56,7 +56,7 @@ struct _GInetSocketAddressClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_inet_socket_address_get_type (void) G_GNUC_CONST;
|
||||
GType g_inet_socket_address_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GSocketAddress *g_inet_socket_address_new (GInetAddress *address,
|
||||
|
||||
@@ -62,7 +62,7 @@ struct _GInitableIface
|
||||
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_initable_get_type (void) G_GNUC_CONST;
|
||||
GType g_initable_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
gboolean g_initable_init (GInitable *initable,
|
||||
|
||||
@@ -107,7 +107,7 @@ struct _GInputStreamClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_input_stream_get_type (void) G_GNUC_CONST;
|
||||
GType g_input_stream_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
gssize g_input_stream_read (GInputStream *stream,
|
||||
|
||||
@@ -35,7 +35,7 @@ G_BEGIN_DECLS
|
||||
/*** END file-production ***/
|
||||
|
||||
/*** BEGIN value-header ***/
|
||||
GIO_AVAILABLE_IN_ALL GType @enum_name@_get_type (void) G_GNUC_CONST;
|
||||
GIO_AVAILABLE_IN_ALL GType @enum_name@_get_type (void);
|
||||
#define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type ())
|
||||
/*** END value-header ***/
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ void g_io_module_scope_block (GIOModuleScope *scope,
|
||||
typedef struct _GIOModuleClass GIOModuleClass;
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_io_module_get_type (void) G_GNUC_CONST;
|
||||
GType g_io_module_get_type (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GIOModule *g_io_module_new (const gchar *filename);
|
||||
|
||||
|
||||
@@ -81,7 +81,7 @@ struct _GIOStreamClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_io_stream_get_type (void) G_GNUC_CONST;
|
||||
GType g_io_stream_get_type (void) ;
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GInputStream * g_io_stream_get_input_stream (GIOStream *stream);
|
||||
|
||||
@@ -70,7 +70,7 @@ struct _GLoadableIconIface
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_loadable_icon_get_type (void) G_GNUC_CONST;
|
||||
GType g_loadable_icon_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GInputStream *g_loadable_icon_load (GLoadableIcon *icon,
|
||||
|
||||
@@ -42,7 +42,7 @@ struct _GLocalFileClass
|
||||
GObjectClass parent_class;
|
||||
};
|
||||
|
||||
GType _g_local_file_get_type (void) G_GNUC_CONST;
|
||||
GType _g_local_file_get_type (void);
|
||||
|
||||
GFile * _g_local_file_new (const char *filename);
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ struct _GLocalFileEnumeratorClass
|
||||
GFileEnumeratorClass parent_class;
|
||||
};
|
||||
|
||||
GType _g_local_file_enumerator_get_type (void) G_GNUC_CONST;
|
||||
GType _g_local_file_enumerator_get_type (void);
|
||||
|
||||
GFileEnumerator * _g_local_file_enumerator_new (GLocalFile *file,
|
||||
const char *attributes,
|
||||
|
||||
@@ -51,7 +51,7 @@ struct _GLocalFileInputStreamClass
|
||||
GFileInputStreamClass parent_class;
|
||||
};
|
||||
|
||||
GType _g_local_file_input_stream_get_type (void) G_GNUC_CONST;
|
||||
GType _g_local_file_input_stream_get_type (void);
|
||||
|
||||
GFileInputStream *_g_local_file_input_stream_new (int fd);
|
||||
void _g_local_file_input_stream_set_do_close (GLocalFileInputStream *in,
|
||||
|
||||
@@ -52,7 +52,7 @@ struct _GLocalFileIOStreamClass
|
||||
GFileIOStreamClass parent_class;
|
||||
};
|
||||
|
||||
GType _g_local_file_io_stream_get_type (void) G_GNUC_CONST;
|
||||
GType _g_local_file_io_stream_get_type (void);
|
||||
GFileIOStream * _g_local_file_io_stream_new (GLocalFileOutputStream *output_stream);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
@@ -68,7 +68,7 @@ struct _GLocalFileMonitorClass
|
||||
#ifdef G_OS_UNIX
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
#endif
|
||||
GType g_local_file_monitor_get_type (void) G_GNUC_CONST;
|
||||
GType g_local_file_monitor_get_type (void);
|
||||
|
||||
/* for glocalfile.c */
|
||||
GFileMonitor *
|
||||
|
||||
@@ -51,7 +51,7 @@ struct _GLocalFileOutputStreamClass
|
||||
GFileOutputStreamClass parent_class;
|
||||
};
|
||||
|
||||
GType _g_local_file_output_stream_get_type (void) G_GNUC_CONST;
|
||||
GType _g_local_file_output_stream_get_type (void);
|
||||
|
||||
void _g_local_file_output_stream_set_do_close (GLocalFileOutputStream *out,
|
||||
gboolean do_close);
|
||||
|
||||
@@ -37,7 +37,7 @@ G_BEGIN_DECLS
|
||||
typedef struct _GLocalVfs GLocalVfs;
|
||||
typedef struct _GLocalVfsClass GLocalVfsClass;
|
||||
|
||||
GType _g_local_vfs_get_type (void) G_GNUC_CONST;
|
||||
GType _g_local_vfs_get_type (void);
|
||||
|
||||
GVfs * _g_local_vfs_new (void);
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ struct _GMemoryInputStreamClass
|
||||
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_memory_input_stream_get_type (void) G_GNUC_CONST;
|
||||
GType g_memory_input_stream_get_type (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GInputStream * g_memory_input_stream_new (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
|
||||
@@ -78,7 +78,7 @@ typedef gpointer (* GReallocFunc) (gpointer data,
|
||||
gsize size);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_memory_output_stream_get_type (void) G_GNUC_CONST;
|
||||
GType g_memory_output_stream_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GOutputStream *g_memory_output_stream_new (gpointer data,
|
||||
|
||||
@@ -42,7 +42,7 @@ typedef struct _GMenuItem GMenuItem;
|
||||
typedef struct _GMenu GMenu;
|
||||
|
||||
GIO_AVAILABLE_IN_2_32
|
||||
GType g_menu_get_type (void) G_GNUC_CONST;
|
||||
GType g_menu_get_type (void);
|
||||
GIO_AVAILABLE_IN_2_32
|
||||
GMenu * g_menu_new (void);
|
||||
|
||||
@@ -110,7 +110,7 @@ void g_menu_append_submenu (GMenu *menu,
|
||||
|
||||
|
||||
GIO_AVAILABLE_IN_2_32
|
||||
GType g_menu_item_get_type (void) G_GNUC_CONST;
|
||||
GType g_menu_item_get_type (void);
|
||||
GIO_AVAILABLE_IN_2_32
|
||||
GMenuItem * g_menu_item_new (const gchar *label,
|
||||
const gchar *detailed_action);
|
||||
|
||||
@@ -183,7 +183,7 @@ struct _GMenuModelClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_2_32
|
||||
GType g_menu_model_get_type (void) G_GNUC_CONST;
|
||||
GType g_menu_model_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_2_32
|
||||
gboolean g_menu_model_is_mutable (GMenuModel *model);
|
||||
@@ -247,7 +247,7 @@ struct _GMenuAttributeIterClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_2_32
|
||||
GType g_menu_attribute_iter_get_type (void) G_GNUC_CONST;
|
||||
GType g_menu_attribute_iter_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_2_32
|
||||
gboolean g_menu_attribute_iter_get_next (GMenuAttributeIter *iter,
|
||||
@@ -289,7 +289,7 @@ struct _GMenuLinkIterClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_2_32
|
||||
GType g_menu_link_iter_get_type (void) G_GNUC_CONST;
|
||||
GType g_menu_link_iter_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_2_32
|
||||
gboolean g_menu_link_iter_get_next (GMenuLinkIter *iter,
|
||||
|
||||
@@ -164,7 +164,7 @@ struct _GMountIface
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_mount_get_type (void) G_GNUC_CONST;
|
||||
GType g_mount_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GFile * g_mount_get_root (GMount *mount);
|
||||
|
||||
@@ -115,7 +115,7 @@ struct _GMountOperationClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_mount_operation_get_type (void) G_GNUC_CONST;
|
||||
GType g_mount_operation_get_type (void);
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GMountOperation * g_mount_operation_new (void);
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ struct _GNativeSocketAddressClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_2_46
|
||||
GType g_native_socket_address_get_type (void) G_GNUC_CONST;
|
||||
GType g_native_socket_address_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_2_46
|
||||
GSocketAddress *g_native_socket_address_new (gpointer native,
|
||||
|
||||
@@ -56,7 +56,7 @@ struct _GNativeVolumeMonitorClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_native_volume_monitor_get_type (void) G_GNUC_CONST;
|
||||
GType g_native_volume_monitor_get_type (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ struct _GNetworkAddressClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_network_address_get_type (void) G_GNUC_CONST;
|
||||
GType g_network_address_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GSocketConnectable *g_network_address_new (const gchar *hostname,
|
||||
|
||||
@@ -67,7 +67,7 @@ struct _GNetworkMonitorInterface {
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_2_32
|
||||
GType g_network_monitor_get_type (void) G_GNUC_CONST;
|
||||
GType g_network_monitor_get_type (void);
|
||||
GIO_AVAILABLE_IN_2_32
|
||||
GNetworkMonitor *g_network_monitor_get_default (void);
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ struct _GNetworkServiceClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_network_service_get_type (void) G_GNUC_CONST;
|
||||
GType g_network_service_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GSocketConnectable *g_network_service_new (const gchar *service,
|
||||
|
||||
@@ -36,7 +36,7 @@ G_BEGIN_DECLS
|
||||
#define G_IS_NOTIFICATION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_NOTIFICATION))
|
||||
|
||||
GIO_AVAILABLE_IN_2_40
|
||||
GType g_notification_get_type (void) G_GNUC_CONST;
|
||||
GType g_notification_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_2_40
|
||||
GNotification * g_notification_new (const gchar *title);
|
||||
|
||||
@@ -42,7 +42,7 @@ struct _GOsxAppInfoClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_2_52
|
||||
GType g_osx_app_info_get_type (void) G_GNUC_CONST;
|
||||
GType g_osx_app_info_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_2_52
|
||||
const char *g_osx_app_info_get_filename (GOsxAppInfo *info);
|
||||
|
||||
@@ -142,7 +142,7 @@ struct _GOutputStreamClass
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_output_stream_get_type (void) G_GNUC_CONST;
|
||||
GType g_output_stream_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
gssize g_output_stream_write (GOutputStream *stream,
|
||||
|
||||
@@ -75,7 +75,7 @@ struct _GPollableInputStreamInterface
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_pollable_input_stream_get_type (void) G_GNUC_CONST;
|
||||
GType g_pollable_input_stream_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
gboolean g_pollable_input_stream_can_poll (GPollableInputStream *stream);
|
||||
|
||||
@@ -88,7 +88,7 @@ struct _GPollableOutputStreamInterface
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_pollable_output_stream_get_type (void) G_GNUC_CONST;
|
||||
GType g_pollable_output_stream_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
gboolean g_pollable_output_stream_can_poll (GPollableOutputStream *stream);
|
||||
|
||||
@@ -41,7 +41,7 @@ struct _GPollFileMonitorClass
|
||||
GFileMonitorClass parent_class;
|
||||
};
|
||||
|
||||
GType _g_poll_file_monitor_get_type (void) G_GNUC_CONST;
|
||||
GType _g_poll_file_monitor_get_type (void);
|
||||
|
||||
GFileMonitor * _g_poll_file_monitor_new (GFile *file);
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ G_BEGIN_DECLS
|
||||
G_TYPE_PROPERTY_ACTION))
|
||||
|
||||
GIO_AVAILABLE_IN_2_38
|
||||
GType g_property_action_get_type (void) G_GNUC_CONST;
|
||||
GType g_property_action_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_2_38
|
||||
GPropertyAction * g_property_action_new (const gchar *name,
|
||||
|
||||
@@ -90,7 +90,7 @@ struct _GProxyInterface
|
||||
};
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GType g_proxy_get_type (void) G_GNUC_CONST;
|
||||
GType g_proxy_get_type (void);
|
||||
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GProxy *g_proxy_get_default_for_protocol (const gchar *protocol);
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user