fix improper use of guint as GType
2002-04-11 jacob berkman <jacob@ximian.com> * (various files): fix improper use of guint as GType
This commit is contained in:
parent
1f98e3e646
commit
64a0eee134
38 changed files with 59 additions and 55 deletions
|
@ -57,7 +57,7 @@ struct _ArchiveClass
|
|||
POA_ConfigArchiver_Archive__epv epv;
|
||||
};
|
||||
|
||||
guint archive_get_type (void);
|
||||
GType archive_get_type (void);
|
||||
|
||||
gboolean archive_construct (Archive *archive,
|
||||
gboolean is_new);
|
||||
|
|
|
@ -55,7 +55,7 @@ struct _BackendListClass
|
|||
POA_ConfigArchiver_BackendList__epv epv;
|
||||
};
|
||||
|
||||
guint backend_list_get_type (void);
|
||||
GType backend_list_get_type (void);
|
||||
|
||||
BonoboObject *backend_list_new (gboolean is_global);
|
||||
|
||||
|
|
|
@ -67,10 +67,10 @@ static gboolean host_cb (Cluster *cluster,
|
|||
gchar *hostname,
|
||||
pair_t *pair);
|
||||
|
||||
guint
|
||||
GType
|
||||
cluster_location_get_type (void)
|
||||
{
|
||||
static guint cluster_location_type = 0;
|
||||
static GType cluster_location_type = 0;
|
||||
|
||||
if (!cluster_location_type) {
|
||||
GtkTypeInfo cluster_location_info = {
|
||||
|
|
|
@ -50,7 +50,7 @@ struct _ClusterLocationClass
|
|||
LocationClass location_class;
|
||||
};
|
||||
|
||||
guint cluster_location_get_type (void);
|
||||
GType cluster_location_get_type (void);
|
||||
|
||||
GtkObject *cluster_location_new (void);
|
||||
|
||||
|
|
|
@ -80,10 +80,10 @@ static SlaveHost *slave_host_new (gchar *hostname);
|
|||
static SlaveHost *slave_host_read_xml (xmlNodePtr node);
|
||||
static xmlNodePtr slave_host_write_xml (SlaveHost *host);
|
||||
|
||||
guint
|
||||
GType
|
||||
cluster_get_type (void)
|
||||
{
|
||||
static guint cluster_type = 0;
|
||||
static GType cluster_type = 0;
|
||||
|
||||
if (!cluster_type) {
|
||||
GtkTypeInfo cluster_info = {
|
||||
|
|
|
@ -52,7 +52,7 @@ struct _ClusterClass
|
|||
ArchiveClass archive_class;
|
||||
};
|
||||
|
||||
guint cluster_get_type (void);
|
||||
GType cluster_get_type (void);
|
||||
|
||||
GtkObject *cluster_new (gchar *prefix);
|
||||
GtkObject *cluster_load (gchar *prefix);
|
||||
|
|
|
@ -118,10 +118,10 @@ static void config_log_entry_destroy (ConfigLogEntry *entry);
|
|||
static void dump_file (FILE *input,
|
||||
FILE *output);
|
||||
|
||||
guint
|
||||
GType
|
||||
config_log_get_type (void)
|
||||
{
|
||||
static guint config_log_type;
|
||||
static GType config_log_type;
|
||||
|
||||
if (!config_log_type) {
|
||||
GtkTypeInfo config_log_info = {
|
||||
|
|
|
@ -54,7 +54,7 @@ struct _ConfigLogClass
|
|||
GtkObjectClass parent;
|
||||
};
|
||||
|
||||
guint config_log_get_type (void);
|
||||
GType config_log_get_type (void);
|
||||
|
||||
GtkObject *config_log_open (Location *location);
|
||||
void config_log_delete (ConfigLog *config_log);
|
||||
|
|
|
@ -63,7 +63,7 @@ struct _LocationClass
|
|||
xmlDocPtr xml_doc);
|
||||
};
|
||||
|
||||
guint location_get_type (void);
|
||||
GType location_get_type (void);
|
||||
|
||||
BonoboObject *location_new (Archive *archive,
|
||||
const gchar *locid,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue