G_TYPE_NONE isn't 0

Yevgen Muntyan 2015-12-31 04:51:56 -08:00
parent 332a434b8e
commit 2556b108dd
1 changed files with 1 additions and 3 deletions

View File

@ -342,10 +342,8 @@ moo_editor_class_init (MooEditorClass *klass)
MooEditorPrivate::MooEditorPrivate()
: opts(MooEditorOptions(0))
, window_type(G_TYPE_NONE)
, doc_type(G_TYPE_NONE)
{
// zero-initialized when allocated with the GObject
}
MooEditorPrivate::~MooEditorPrivate()