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
|
@ -1,3 +1,7 @@
|
|||
2002-04-11 jacob berkman <jacob@ximian.com>
|
||||
|
||||
* (various files): fix improper use of guint as GType
|
||||
|
||||
2002-04-10 Kevin Breit <mrproper@ximian.com>
|
||||
|
||||
* configure.in: Added the help/Makefile.am and help/C/Makefile.am.
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -90,10 +90,10 @@ static void adjust_opacity_toggled_cb (GtkToggleButton *tb,
|
|||
static void opacity_adjust_changed_cb (GtkAdjustment *adjustment,
|
||||
PrefsWidget *prefs_widget);
|
||||
|
||||
guint
|
||||
GType
|
||||
prefs_widget_get_type (void)
|
||||
{
|
||||
static guint prefs_widget_type = 0;
|
||||
static GType prefs_widget_type = 0;
|
||||
|
||||
if (!prefs_widget_type) {
|
||||
GtkTypeInfo prefs_widget_info = {
|
||||
|
|
|
@ -54,7 +54,7 @@ struct _PrefsWidgetClass
|
|||
CappletWidgetClass parent_class;
|
||||
};
|
||||
|
||||
guint prefs_widget_get_type (void);
|
||||
GType prefs_widget_get_type (void);
|
||||
|
||||
GtkWidget *prefs_widget_new (Preferences *prefs);
|
||||
|
||||
|
|
|
@ -41,10 +41,10 @@ static GtkVBoxClass *parent_class;
|
|||
|
||||
static GtkTargetEntry drop_types[] = { { "text/uri-list", 0, 0 } };
|
||||
|
||||
guint
|
||||
GType
|
||||
nautilus_mime_type_icon_entry_get_type (void)
|
||||
{
|
||||
static guint icon_entry_type = 0;
|
||||
static GType icon_entry_type = 0;
|
||||
|
||||
if (!icon_entry_type) {
|
||||
GtkTypeInfo icon_entry_info = {
|
||||
|
|
|
@ -46,7 +46,7 @@ struct _NautilusMimeIconEntryClass {
|
|||
};
|
||||
|
||||
|
||||
guint nautilus_mime_type_icon_entry_get_type (void);
|
||||
GType nautilus_mime_type_icon_entry_get_type (void);
|
||||
GtkWidget *nautilus_mime_type_icon_entry_new (const gchar *history_id,
|
||||
const gchar *browse_dialog_title);
|
||||
|
||||
|
|
|
@ -106,10 +106,10 @@ static void apply_cb (GtkButton
|
|||
static void close_cb (GtkButton *button,
|
||||
RollbackCappletDialog *dialog);
|
||||
|
||||
guint
|
||||
GType
|
||||
rollback_capplet_dialog_get_type (void)
|
||||
{
|
||||
static guint rollback_capplet_dialog_type = 0;
|
||||
static GType rollback_capplet_dialog_type = 0;
|
||||
|
||||
if (!rollback_capplet_dialog_type) {
|
||||
GtkTypeInfo rollback_capplet_dialog_info = {
|
||||
|
|
|
@ -49,7 +49,7 @@ struct _RollbackCappletDialogClass
|
|||
GnomeDialogClass gnome_dialog_class;
|
||||
};
|
||||
|
||||
guint rollback_capplet_dialog_get_type (void);
|
||||
GType rollback_capplet_dialog_get_type (void);
|
||||
|
||||
GtkObject *rollback_capplet_dialog_new (gchar *capplet_name);
|
||||
|
||||
|
|
|
@ -85,10 +85,10 @@ static gint time_to_x (time_t t, gint width);
|
|||
static gint horner (gint *coeff, gint degree,
|
||||
gint divisor, gint x);
|
||||
|
||||
guint
|
||||
GType
|
||||
rollback_control_get_type (void)
|
||||
{
|
||||
static guint rollback_control_type = 0;
|
||||
static GType rollback_control_type = 0;
|
||||
|
||||
if (!rollback_control_type) {
|
||||
GtkTypeInfo rollback_control_info = {
|
||||
|
|
|
@ -49,7 +49,7 @@ struct _RollbackControlClass
|
|||
GnomeCanvasItemClass gnome_canvas_item_class;
|
||||
};
|
||||
|
||||
guint rollback_control_get_type (void);
|
||||
GType rollback_control_get_type (void);
|
||||
|
||||
END_GNOME_DECLS
|
||||
|
||||
|
|
|
@ -54,10 +54,10 @@ static void rollback_widget_finalize (GtkObject *object);
|
|||
static void rollback_widget_realize (GtkWidget *widget);
|
||||
static void rollback_widget_unrealize (GtkWidget *widget);
|
||||
|
||||
guint
|
||||
GType
|
||||
rollback_widget_get_type (void)
|
||||
{
|
||||
static guint rollback_widget_type = 0;
|
||||
static GType rollback_widget_type = 0;
|
||||
|
||||
if (!rollback_widget_type) {
|
||||
GtkTypeInfo rollback_widget_info = {
|
||||
|
|
|
@ -58,7 +58,7 @@ struct _RollbackWidgetClass
|
|||
GnomeCanvasClass gnome_canvas_class;
|
||||
};
|
||||
|
||||
guint rollback_widget_get_type (void);
|
||||
GType rollback_widget_get_type (void);
|
||||
|
||||
GtkObject *rollback_widget_new (void);
|
||||
|
||||
|
|
|
@ -79,10 +79,10 @@ static SoundEvent *sound_event_read_xml (xmlNodePtr event_node);
|
|||
|
||||
static void start_esd (void);
|
||||
|
||||
guint
|
||||
GType
|
||||
preferences_get_type (void)
|
||||
{
|
||||
static guint preferences_type = 0;
|
||||
static GType preferences_type = 0;
|
||||
|
||||
if (!preferences_type) {
|
||||
GtkTypeInfo preferences_info = {
|
||||
|
|
|
@ -83,7 +83,7 @@ struct _PreferencesClass
|
|||
GtkObjectClass klass;
|
||||
};
|
||||
|
||||
guint preferences_get_type (void);
|
||||
GType preferences_get_type (void);
|
||||
|
||||
GtkObject *preferences_new (void);
|
||||
GtkObject *preferences_clone (Preferences *prefs);
|
||||
|
|
|
@ -79,10 +79,10 @@ static void events_tree_select_cb (GtkCTree *ctree,
|
|||
static void sound_file_entry_changed_cb (GtkEntry *entry,
|
||||
PrefsWidget *prefs_widget);
|
||||
|
||||
guint
|
||||
GType
|
||||
prefs_widget_get_type (void)
|
||||
{
|
||||
static guint prefs_widget_type = 0;
|
||||
static GType prefs_widget_type = 0;
|
||||
|
||||
if (!prefs_widget_type) {
|
||||
GtkTypeInfo prefs_widget_info = {
|
||||
|
|
|
@ -54,7 +54,7 @@ struct _PrefsWidgetClass
|
|||
CappletWidgetClass parent_class;
|
||||
};
|
||||
|
||||
guint prefs_widget_get_type (void);
|
||||
GType prefs_widget_get_type (void);
|
||||
|
||||
GtkWidget *prefs_widget_new (Preferences *prefs);
|
||||
|
||||
|
|
|
@ -41,10 +41,10 @@ static gint apply_timeout_cb (Preferences *prefs);
|
|||
|
||||
#define DGI "/desktop/gnome/interface/"
|
||||
|
||||
guint
|
||||
GType
|
||||
preferences_get_type (void)
|
||||
{
|
||||
static guint preferences_type = 0;
|
||||
static GType preferences_type = 0;
|
||||
|
||||
if (!preferences_type) {
|
||||
GtkTypeInfo preferences_info = {
|
||||
|
|
|
@ -68,7 +68,7 @@ struct _PreferencesClass
|
|||
GtkObjectClass klass;
|
||||
};
|
||||
|
||||
guint preferences_get_type (void);
|
||||
GType preferences_get_type (void);
|
||||
|
||||
GtkObject *preferences_new (void);
|
||||
GtkObject *preferences_clone (Preferences *prefs);
|
||||
|
|
|
@ -47,10 +47,10 @@ static widget_desc_t widget_desc[] = {
|
|||
static void prefs_widget_app_init (PrefsWidgetApp *prefs_widget_app);
|
||||
static void prefs_widget_app_class_init (PrefsWidgetAppClass *class);
|
||||
|
||||
guint
|
||||
GType
|
||||
prefs_widget_app_get_type (void)
|
||||
{
|
||||
static guint prefs_widget_app_type = 0;
|
||||
static GType prefs_widget_app_type = 0;
|
||||
|
||||
if (!prefs_widget_app_type) {
|
||||
GtkTypeInfo prefs_widget_app_info = {
|
||||
|
|
|
@ -47,7 +47,7 @@ struct _PrefsWidgetAppClass
|
|||
PrefsWidgetClass parent_class;
|
||||
};
|
||||
|
||||
guint prefs_widget_app_get_type (void);
|
||||
GType prefs_widget_app_get_type (void);
|
||||
|
||||
GtkWidget *prefs_widget_app_new (Preferences *prefs);
|
||||
|
||||
|
|
|
@ -43,10 +43,10 @@ static widget_desc_t widget_desc[] = {
|
|||
static void prefs_widget_dialogs_init (PrefsWidgetDialogs *prefs_widget_dlgs);
|
||||
static void prefs_widget_dialogs_class_init (PrefsWidgetDialogsClass *class);
|
||||
|
||||
guint
|
||||
GType
|
||||
prefs_widget_dialogs_get_type (void)
|
||||
{
|
||||
static guint prefs_widget_dialogs_type = 0;
|
||||
static GType prefs_widget_dialogs_type = 0;
|
||||
|
||||
if (!prefs_widget_dialogs_type) {
|
||||
GtkTypeInfo prefs_widget_dialogs_info = {
|
||||
|
|
|
@ -47,7 +47,7 @@ struct _PrefsWidgetDialogsClass
|
|||
PrefsWidgetClass parent_class;
|
||||
};
|
||||
|
||||
guint prefs_widget_dialogs_get_type (void);
|
||||
GType prefs_widget_dialogs_get_type (void);
|
||||
|
||||
GtkWidget *prefs_widget_dialogs_new (Preferences *prefs);
|
||||
|
||||
|
|
|
@ -40,10 +40,10 @@ static widget_desc_t widget_desc[] = {
|
|||
static void prefs_widget_mdi_init (PrefsWidgetMDI *prefs_widget_mdi);
|
||||
static void prefs_widget_mdi_class_init (PrefsWidgetMDIClass *class);
|
||||
|
||||
guint
|
||||
GType
|
||||
prefs_widget_mdi_get_type (void)
|
||||
{
|
||||
static guint prefs_widget_mdi_type = 0;
|
||||
static GType prefs_widget_mdi_type = 0;
|
||||
|
||||
if (!prefs_widget_mdi_type) {
|
||||
GtkTypeInfo prefs_widget_mdi_info = {
|
||||
|
|
|
@ -47,7 +47,7 @@ struct _PrefsWidgetMDIClass
|
|||
PrefsWidgetClass parent_class;
|
||||
};
|
||||
|
||||
guint prefs_widget_mdi_get_type (void);
|
||||
GType prefs_widget_mdi_get_type (void);
|
||||
|
||||
GtkWidget *prefs_widget_mdi_new (Preferences *prefs);
|
||||
|
||||
|
|
|
@ -103,10 +103,10 @@ static void prefs_widget_response_cb (PrefsWidget *prefs_widget, GtkResponseTy
|
|||
|
||||
#define CAPPLET_WIDGET(x) GTK_DIALOG(x)
|
||||
|
||||
guint
|
||||
GType
|
||||
prefs_widget_get_type (void)
|
||||
{
|
||||
static guint prefs_widget_type = 0;
|
||||
static GType prefs_widget_type = 0;
|
||||
|
||||
if (!prefs_widget_type) {
|
||||
GtkTypeInfo prefs_widget_info = {
|
||||
|
|
|
@ -85,7 +85,7 @@ struct _PrefsWidgetClass
|
|||
widget_desc_t *widget_desc;
|
||||
};
|
||||
|
||||
guint prefs_widget_get_type (void);
|
||||
GType prefs_widget_get_type (void);
|
||||
|
||||
GtkWidget *prefs_widget_new (Preferences *prefs);
|
||||
|
||||
|
|
|
@ -51,10 +51,10 @@ static void gnomecc_preferences_class_init (GnomeCCPreferencesClass *klass);
|
|||
|
||||
static void set_single_window_controls_sensitive (GladeXML *data, gboolean s);
|
||||
|
||||
guint
|
||||
GType
|
||||
gnomecc_preferences_get_type (void)
|
||||
{
|
||||
static guint gnomecc_preferences_type;
|
||||
static GType gnomecc_preferences_type;
|
||||
|
||||
if (!gnomecc_preferences_type) {
|
||||
static const GTypeInfo gnomecc_preferences_info = {
|
||||
|
|
|
@ -58,7 +58,7 @@ struct _GnomeCCPreferencesClass
|
|||
void (*changed) (GnomeCCPreferences *);
|
||||
};
|
||||
|
||||
guint gnomecc_preferences_get_type (void);
|
||||
GType gnomecc_preferences_get_type (void);
|
||||
|
||||
GnomeCCPreferences *gnomecc_preferences_new (void);
|
||||
GnomeCCPreferences *gnomecc_preferences_clone (GnomeCCPreferences *prefs);
|
||||
|
|
|
@ -181,10 +181,10 @@ static gboolean cleanup_cb (BGApplier *bg_applier);
|
|||
static void preview_realized_cb (GtkWidget *preview,
|
||||
BGApplier *bg_applier);
|
||||
|
||||
guint
|
||||
GType
|
||||
bg_applier_get_type (void)
|
||||
{
|
||||
static guint bg_applier_type = 0;
|
||||
static GType bg_applier_type = 0;
|
||||
|
||||
if (!bg_applier_type) {
|
||||
static GTypeInfo bg_applier_info = {
|
||||
|
|
|
@ -56,7 +56,7 @@ struct _BGApplierClass
|
|||
GObjectClass klass;
|
||||
};
|
||||
|
||||
guint bg_applier_get_type (void);
|
||||
GType bg_applier_get_type (void);
|
||||
|
||||
GObject *bg_applier_new (BGApplierType type);
|
||||
GObject *bg_applier_new_at_size (BGApplierType type,
|
||||
|
|
Loading…
Add table
Reference in a new issue