mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +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;
|
*value = tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
RemoteActionInfo *
|
static RemoteActionInfo *
|
||||||
remote_action_info_new_from_iter (GVariantIter *iter)
|
remote_action_info_new_from_iter (GVariantIter *iter)
|
||||||
{
|
{
|
||||||
RemoteActionInfo *info;
|
RemoteActionInfo *info;
|
||||||
|
@ -1028,7 +1028,7 @@ g_io_extension_point_get_required_type (GIOExtensionPoint *extension_point)
|
|||||||
return extension_point->required_type;
|
return extension_point->required_type;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
lazy_load_modules (GIOExtensionPoint *extension_point)
|
lazy_load_modules (GIOExtensionPoint *extension_point)
|
||||||
{
|
{
|
||||||
GIOModule *module;
|
GIOModule *module;
|
||||||
|
@ -168,7 +168,7 @@ convert_path (GKeyfileSettingsBackend *kfsb,
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
gboolean
|
static gboolean
|
||||||
path_is_valid (GKeyfileSettingsBackend *kfsb,
|
path_is_valid (GKeyfileSettingsBackend *kfsb,
|
||||||
const gchar *path)
|
const gchar *path)
|
||||||
{
|
{
|
||||||
|
@ -794,6 +794,7 @@ typedef struct {
|
|||||||
|
|
||||||
} GNetworkAddressAddressEnumeratorClass;
|
} 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)
|
G_DEFINE_TYPE (GNetworkAddressAddressEnumerator, _g_network_address_address_enumerator, G_TYPE_SOCKET_ADDRESS_ENUMERATOR)
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -405,6 +405,7 @@ typedef struct {
|
|||||||
|
|
||||||
} GNetworkServiceAddressEnumeratorClass;
|
} 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)
|
G_DEFINE_TYPE (GNetworkServiceAddressEnumerator, _g_network_service_address_enumerator, G_TYPE_SOCKET_ADDRESS_ENUMERATOR)
|
||||||
|
|
||||||
static GSocketAddress *
|
static GSocketAddress *
|
||||||
|
@ -20,6 +20,8 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include "gsettingsschema.h"
|
#include "gsettingsschema.h"
|
||||||
|
#include "gsettings.h"
|
||||||
|
|
||||||
#include "gvdb/gvdb-reader.h"
|
#include "gvdb/gvdb-reader.h"
|
||||||
|
|
||||||
#include <glibintl.h>
|
#include <glibintl.h>
|
||||||
|
@ -80,7 +80,7 @@ g_simple_action_get_name (GAction *action)
|
|||||||
return simple->name;
|
return simple->name;
|
||||||
}
|
}
|
||||||
|
|
||||||
const GVariantType *
|
static const GVariantType *
|
||||||
g_simple_action_get_parameter_type (GAction *action)
|
g_simple_action_get_parameter_type (GAction *action)
|
||||||
{
|
{
|
||||||
GSimpleAction *simple = G_SIMPLE_ACTION (action);
|
GSimpleAction *simple = G_SIMPLE_ACTION (action);
|
||||||
|
@ -315,6 +315,7 @@ typedef struct {
|
|||||||
|
|
||||||
} GSocketAddressAddressEnumeratorClass;
|
} 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)
|
G_DEFINE_TYPE (GSocketAddressAddressEnumerator, _g_socket_address_address_enumerator, G_TYPE_SOCKET_ADDRESS_ENUMERATOR)
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -138,7 +138,7 @@ create_socket (GSocketClient *client,
|
|||||||
return socket;
|
return socket;
|
||||||
}
|
}
|
||||||
|
|
||||||
gboolean
|
static gboolean
|
||||||
can_use_proxy (GSocketClient *client)
|
can_use_proxy (GSocketClient *client)
|
||||||
{
|
{
|
||||||
GSocketClientPrivate *priv = client->priv;
|
GSocketClientPrivate *priv = client->priv;
|
||||||
|
@ -203,7 +203,7 @@ g_srv_target_get_weight (GSrvTarget *target)
|
|||||||
return target->weight;
|
return target->weight;
|
||||||
}
|
}
|
||||||
|
|
||||||
gint
|
static gint
|
||||||
compare_target (gconstpointer a, gconstpointer b)
|
compare_target (gconstpointer a, gconstpointer b)
|
||||||
{
|
{
|
||||||
GSrvTarget *ta = (GSrvTarget *)a;
|
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_HEADER "-----BEGIN RSA PRIVATE KEY-----"
|
||||||
#define PEM_PRIVKEY_FOOTER "-----END RSA PRIVATE KEY-----"
|
#define PEM_PRIVKEY_FOOTER "-----END RSA PRIVATE KEY-----"
|
||||||
|
|
||||||
gchar *
|
static gchar *
|
||||||
parse_private_key (const gchar *data,
|
parse_private_key (const gchar *data,
|
||||||
gsize data_len,
|
gsize data_len,
|
||||||
gboolean required,
|
gboolean required,
|
||||||
@ -243,7 +243,7 @@ parse_private_key (const gchar *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
gchar *
|
static gchar *
|
||||||
parse_next_pem_certificate (const gchar **data,
|
parse_next_pem_certificate (const gchar **data,
|
||||||
const gchar *data_end,
|
const gchar *data_end,
|
||||||
gboolean required,
|
gboolean required,
|
||||||
|
Loading…
Reference in New Issue
Block a user