Commit c8e6d37e authored by Jonathan Michalon's avatar Jonathan Michalon

OVCCGtk: workaround type-func issue in connection dialog

Workaround the load of OVCCGtkMessageInfo as type-func seems currently
sort-of broken (unused), by pre-loading the type forcefully.
See: https://bugzilla.gnome.org/show_bug.cgi?id=786932
parent 2bd41bc2
......@@ -220,6 +220,10 @@ ovccgtk_connection_dialog_init (OVCCGtkConnectionDialog *self)
{
self->priv = ovccgtk_connection_dialog_get_instance_private (self);
/* register the type manually while type-func is brok^W not prefered
see https://bugzilla.gnome.org/show_bug.cgi?id=786932 */
g_type_ensure (OVCCGTK_TYPE_MESSAGE_INFO);
gtk_widget_init_template (GTK_WIDGET (self));
gtk_dialog_set_default_response (GTK_DIALOG (self), GTK_RESPONSE_OK);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment