[Vala] error: [GtkChild] is only allowed in classes with a [GtkTemplate] attribute



Hi all,

is it possible to fix/resolve this ?



[GtkTemplate(ui = "/resource/replaceDialog.glade")]
public class ReplaceDialog : SearchReplaceDialog
{
....
}


[GtkTemplate(ui = "/resource/findDialog.glade")]
public class SearchDialog : SearchReplaceDialog
{
....
}

public class SearchReplaceDialog : Dialog
{
   [GtkChild] protected Entry searchWhat;
[GtkChild] protected Entry replaceWhat;
....
}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]