[Github-comments] [geany-plugins] Geniuspaste: Install a custom URL handler for Paste link (#403)
Colomban Wendling
notifications at xxxxx
Sat Mar 12 13:58:43 UTC 2016
> @@ -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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160312/b18b93d2/attachment.html>
More information about the Github-comments
mailing list