mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 14:36:13 +01:00
gio static fixups
This commit is contained in:
parent
740eacbfca
commit
09429e2c82
@ -434,7 +434,7 @@ unwrap_fake_maybe (GVariant **value)
|
||||
*value = tmp;
|
||||
}
|
||||
|
||||
RemoteActionInfo *
|
||||
static RemoteActionInfo *
|
||||
remote_action_info_new_from_iter (GVariantIter *iter)
|
||||
{
|
||||
RemoteActionInfo *info;
|
||||
|
@ -1028,7 +1028,7 @@ g_io_extension_point_get_required_type (GIOExtensionPoint *extension_point)
|
||||
return extension_point->required_type;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
lazy_load_modules (GIOExtensionPoint *extension_point)
|
||||
{
|
||||
GIOModule *module;
|
||||
|
@ -168,7 +168,7 @@ convert_path (GKeyfileSettingsBackend *kfsb,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
gboolean
|
||||
static gboolean
|
||||
path_is_valid (GKeyfileSettingsBackend *kfsb,
|
||||
const gchar *path)
|
||||
{
|
||||
|
@ -794,6 +794,7 @@ typedef struct {
|
||||
|
||||
} GNetworkAddressAddressEnumeratorClass;
|
||||
|
||||
static GType _g_network_address_address_enumerator_get_type (void);
|
||||
G_DEFINE_TYPE (GNetworkAddressAddressEnumerator, _g_network_address_address_enumerator, G_TYPE_SOCKET_ADDRESS_ENUMERATOR)
|
||||
|
||||
static void
|
||||
|
@ -405,6 +405,7 @@ typedef struct {
|
||||
|
||||
} GNetworkServiceAddressEnumeratorClass;
|
||||
|
||||
static GType _g_network_service_address_enumerator_get_type (void);
|
||||
G_DEFINE_TYPE (GNetworkServiceAddressEnumerator, _g_network_service_address_enumerator, G_TYPE_SOCKET_ADDRESS_ENUMERATOR)
|
||||
|
||||
static GSocketAddress *
|
||||
|
@ -20,6 +20,8 @@
|
||||
#include "config.h"
|
||||
|
||||
#include "gsettingsschema.h"
|
||||
#include "gsettings.h"
|
||||
|
||||
#include "gvdb/gvdb-reader.h"
|
||||
|
||||
#include <glibintl.h>
|
||||
|
@ -80,7 +80,7 @@ g_simple_action_get_name (GAction *action)
|
||||
return simple->name;
|
||||
}
|
||||
|
||||
const GVariantType *
|
||||
static const GVariantType *
|
||||
g_simple_action_get_parameter_type (GAction *action)
|
||||
{
|
||||
GSimpleAction *simple = G_SIMPLE_ACTION (action);
|
||||
|
@ -315,6 +315,7 @@ typedef struct {
|
||||
|
||||
} GSocketAddressAddressEnumeratorClass;
|
||||
|
||||
static GType _g_socket_address_address_enumerator_get_type (void);
|
||||
G_DEFINE_TYPE (GSocketAddressAddressEnumerator, _g_socket_address_address_enumerator, G_TYPE_SOCKET_ADDRESS_ENUMERATOR)
|
||||
|
||||
static void
|
||||
|
@ -138,7 +138,7 @@ create_socket (GSocketClient *client,
|
||||
return socket;
|
||||
}
|
||||
|
||||
gboolean
|
||||
static gboolean
|
||||
can_use_proxy (GSocketClient *client)
|
||||
{
|
||||
GSocketClientPrivate *priv = client->priv;
|
||||
|
@ -203,7 +203,7 @@ g_srv_target_get_weight (GSrvTarget *target)
|
||||
return target->weight;
|
||||
}
|
||||
|
||||
gint
|
||||
static gint
|
||||
compare_target (gconstpointer a, gconstpointer b)
|
||||
{
|
||||
GSrvTarget *ta = (GSrvTarget *)a;
|
||||
|
@ -209,7 +209,7 @@ g_tls_certificate_new_internal (const gchar *certificate_pem,
|
||||
#define PEM_PRIVKEY_HEADER "-----BEGIN RSA PRIVATE KEY-----"
|
||||
#define PEM_PRIVKEY_FOOTER "-----END RSA PRIVATE KEY-----"
|
||||
|
||||
gchar *
|
||||
static gchar *
|
||||
parse_private_key (const gchar *data,
|
||||
gsize data_len,
|
||||
gboolean required,
|
||||
@ -243,7 +243,7 @@ parse_private_key (const gchar *data,
|
||||
}
|
||||
|
||||
|
||||
gchar *
|
||||
static gchar *
|
||||
parse_next_pem_certificate (const gchar **data,
|
||||
const gchar *data_end,
|
||||
gboolean required,
|
||||
|
Loading…
Reference in New Issue
Block a user