Gtk code cleanups: Fix obsolete use of GtkType type.

This commit is contained in:
Geert Janssens 2015-08-22 12:26:25 +02:00
parent 8d1b452201
commit 8825d3feb7
3 changed files with 4 additions and 4 deletions

View File

@ -58,10 +58,10 @@ enum
static GtkEventBoxClass *parent_class;
static guint signals[LAST_SIGNAL];
GtkType
GType
gnc_popup_entry_get_type (void)
{
static GtkType widget_type = 0;
static GType widget_type = 0;
if (!widget_type)
{

View File

@ -59,7 +59,7 @@ struct _GncPopupEntryClass
GtkEventBoxClass parent_class;
};
GtkType gnc_popup_entry_get_type (void) G_GNUC_CONST;
GType gnc_popup_entry_get_type (void) G_GNUC_CONST;
GtkWidget *gnc_popup_entry_new (void);

View File

@ -78,7 +78,7 @@ struct _GncCellRendererPopupClass
void (* hide_popup) (GncCellRendererPopup *cell);
};
GtkType gnc_cell_renderer_popup_get_type (void) G_GNUC_CONST;
GType gnc_cell_renderer_popup_get_type (void) G_GNUC_CONST;
GtkCellRenderer *gnc_cell_renderer_popup_new (void);