This is because the instance_init does not warranty that the class
pointer is the final one. In fact, we were getting scrolleds because
of this.
pmo-trunk-r6408
"transient-for", parent,
NULL));
+ MODEST_DETAILS_DIALOG_GET_CLASS (dialog)->create_container_func (dialog);
MODEST_DETAILS_DIALOG_GET_CLASS (dialog)->set_header_func (dialog, header);
return GTK_WIDGET (dialog);
"transient-for", parent,
NULL));
+ MODEST_DETAILS_DIALOG_GET_CLASS (dialog)->create_container_func (dialog);
MODEST_DETAILS_DIALOG_GET_CLASS (dialog)->set_folder_func (dialog, folder);
return GTK_WIDGET (dialog);
static void
modest_details_dialog_init (ModestDetailsDialog *self)
{
- MODEST_DETAILS_DIALOG_GET_CLASS (self)->create_container_func (self);
}
GtkWidget*
"transient-for", parent,
NULL));
+ MODEST_DETAILS_DIALOG_GET_CLASS (dialog)->create_container_func (dialog);
MODEST_DETAILS_DIALOG_GET_CLASS (dialog)->set_header_func (dialog, header);
/* Add close button */
"transient-for", parent,
NULL));
+ MODEST_DETAILS_DIALOG_GET_CLASS (dialog)->create_container_func (dialog);
MODEST_DETAILS_DIALOG_GET_CLASS (dialog)->set_folder_func (dialog, folder);
/* Add close button */