online-accounts: Use G_DECLARE_FINAL_TYPE
https://bugzilla.gnome.org/show_bug.cgi?id=774222
This commit is contained in:
parent
a9701b3024
commit
013b2d865b
2 changed files with 2 additions and 13 deletions
|
@ -35,8 +35,6 @@
|
||||||
#include "cc-online-accounts-model.h"
|
#include "cc-online-accounts-model.h"
|
||||||
#include "cc-online-accounts-resources.h"
|
#include "cc-online-accounts-resources.h"
|
||||||
|
|
||||||
typedef struct _CcGoaPanelClass CcGoaPanelClass;
|
|
||||||
|
|
||||||
struct _CcGoaPanel
|
struct _CcGoaPanel
|
||||||
{
|
{
|
||||||
CcPanel parent_instance;
|
CcPanel parent_instance;
|
||||||
|
@ -54,11 +52,6 @@ struct _CcGoaPanel
|
||||||
GtkWidget *accounts_vbox;
|
GtkWidget *accounts_vbox;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _CcGoaPanelClass
|
|
||||||
{
|
|
||||||
CcPanelClass parent_class;
|
|
||||||
};
|
|
||||||
|
|
||||||
static void on_model_row_deleted (GtkTreeModel *tree_model,
|
static void on_model_row_deleted (GtkTreeModel *tree_model,
|
||||||
GtkTreePath *path,
|
GtkTreePath *path,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
|
|
|
@ -25,13 +25,9 @@
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define CC_TYPE_GOA_PANEL (cc_goa_panel_get_type ())
|
#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))
|
|
||||||
|
|
||||||
typedef struct _CcGoaPanel CcGoaPanel;
|
G_DECLARE_FINAL_TYPE (CcGoaPanel, cc_goa_panel, CC, GOA_PANEL, CcPanel)
|
||||||
|
|
||||||
GType cc_goa_panel_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue