Skip to content

Commit

Permalink
Gtk code cleanups: Fix obsolete use of GtkType type.
Browse files Browse the repository at this point in the history
  • Loading branch information
gjanssens committed Sep 22, 2015
1 parent 8d1b452 commit 8825d3f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/gnome-utils/gnc-cell-renderer-popup-entry.c
Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion src/gnome-utils/gnc-cell-renderer-popup-entry.h
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion src/gnome-utils/gnc-cell-renderer-popup.h
Expand Up @@ -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);

Expand Down

0 comments on commit 8825d3f

Please sign in to comment.