diff options
author | Michael Catanzaro <mcatanzaro@igalia.com> | 2016-02-27 16:58:28 -0600 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@igalia.com> | 2016-02-27 16:58:28 -0600 |
commit | d7dbeef10f25192364ee3e972f1c82ca4a65d94e (patch) | |
tree | 7c438ab42b71935446113db104ca856e3d9e5ebc /src/prefs-dialog.h | |
parent | 1a451660bb6d3971ee1de7ffa43c5c1535db565c (diff) | |
download | epiphany-d7dbeef10f25192364ee3e972f1c82ca4a65d94e.tar.gz |
prefs-dialog: Use G_DECLARE_FINAL_TYPE
Diffstat (limited to 'src/prefs-dialog.h')
-rw-r--r-- | src/prefs-dialog.h | 26 |
1 files changed, 2 insertions, 24 deletions
diff --git a/src/prefs-dialog.h b/src/prefs-dialog.h index f8cee57f5..0a0943c2a 100644 --- a/src/prefs-dialog.h +++ b/src/prefs-dialog.h @@ -24,31 +24,9 @@ G_BEGIN_DECLS -#define EPHY_TYPE_PREFS_DIALOG (prefs_dialog_get_type ()) -#define EPHY_PREFS_DIALOG(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EPHY_TYPE_PREFS_DIALOG, PrefsDialog)) -#define EPHY_PREFS_DIALOG_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), EPHY_TYPE_PREFS_DIALOG, PrefsDialogClass)) -#define EPHY_IS_PREFS_DIALOG(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EPHY_TYPE_PREFS_DIALOG)) -#define EPHY_IS_PREFS_DIALOG_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EPHY_TYPE_PREFS_DIALOG)) -#define EPHY_PREFS_DIALOG_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EPHY_TYPE_PREFS_DIALOG, PrefsDialogClass)) +#define EPHY_TYPE_PREFS_DIALOG (prefs_dialog_get_type ()) -typedef struct PrefsDialog PrefsDialog; -typedef struct PrefsDialogClass PrefsDialogClass; -typedef struct PrefsDialogPrivate PrefsDialogPrivate; - -struct PrefsDialog -{ - GtkDialog parent; - - /*< private >*/ - PrefsDialogPrivate *priv; -}; - -struct PrefsDialogClass -{ - GtkDialogClass parent_class; -}; - -GType prefs_dialog_get_type (void); +G_DECLARE_FINAL_TYPE (PrefsDialog, prefs_dialog, EPHY, PREFS_DIALOG, GtkDialog) G_END_DECLS |