online-accounts: Use G_DECLARE_FINAL_TYPE

https://bugzilla.gnome.org/show_bug.cgi?id=774222
This commit is contained in:
Georges Basile Stavracas Neto 2016-11-30 13:16:27 +01:00 committed by Debarshi Ray
parent a9701b3024
commit 013b2d865b
2 changed files with 2 additions and 13 deletions

View file

@ -35,8 +35,6 @@
#include "cc-online-accounts-model.h"
#include "cc-online-accounts-resources.h"
typedef struct _CcGoaPanelClass CcGoaPanelClass;
struct _CcGoaPanel
{
CcPanel parent_instance;
@ -54,11 +52,6 @@ struct _CcGoaPanel
GtkWidget *accounts_vbox;
};
struct _CcGoaPanelClass
{
CcPanelClass parent_class;
};
static void on_model_row_deleted (GtkTreeModel *tree_model,
GtkTreePath *path,
gpointer user_data);

View file

@ -25,13 +25,9 @@
G_BEGIN_DECLS
#define CC_TYPE_GOA_PANEL (cc_goa_panel_get_type ())
#define CC_GOA_PANEL(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CC_TYPE_GOA_PANEL, CcGoaPanel))
#define CC_IS_GOA_PANEL(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CC_TYPE_GOA_PANEL))
#define CC_TYPE_GOA_PANEL (cc_goa_panel_get_type ())
typedef struct _CcGoaPanel CcGoaPanel;
GType cc_goa_panel_get_type (void) G_GNUC_CONST;
G_DECLARE_FINAL_TYPE (CcGoaPanel, cc_goa_panel, CC, GOA_PANEL, CcPanel)
G_END_DECLS