> @@ -601,6 +620,13 @@ static void show_msgbox(GtkMessageType type, 
> GtkButtonsType buttons,
>                         "secondary-text", markup,
>                         "secondary-use-markup", TRUE,
>                         NULL);
> +    /* fetch the message area of the dialog and attach a custom URL hook to 
> the labels */
> +    dlg_vbox = gtk_message_dialog_get_message_area(GTK_MESSAGE_DIALOG(dlg));
> +    gtk_container_foreach(
> +        GTK_CONTAINER(dlg_vbox),
> +        (GtkCallback)message_dialog_label_set_url_hook,

no need for the `GtkCallback` cast as the function has (and should have) the 
appropriate signature.

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/403/files#r55921809

Reply via email to