diff -r affc85fd4f3a -r bcfc2c9e5213 finch/gntnotify.c --- a/finch/gntnotify.c Tue Sep 20 02:43:20 2022 -0500 +++ b/finch/gntnotify.c Tue Sep 20 02:44:44 2022 -0500 @@ -396,21 +396,14 @@ _("URI"), url, NULL, NULL); } -static PurpleNotifyUiOps ops = -{ - finch_notify_message, - finch_notify_formatted, - finch_notify_searchresults, - finch_notify_sr_new_rows, - finch_notify_userinfo, - finch_notify_uri, - finch_close_notify, /* The rest of the notify-uiops return a GntWidget. - These widgets should be destroyed from here. */ - NULL, - NULL, - NULL, - NULL - +static PurpleNotifyUiOps ops = { + .notify_message = finch_notify_message, + .notify_formatted = finch_notify_formatted, + .notify_searchresults = finch_notify_searchresults, + .notify_searchresults_new_rows = finch_notify_sr_new_rows, + .notify_userinfo = finch_notify_userinfo, + .notify_uri = finch_notify_uri, + .close_notify = finch_close_notify, }; PurpleNotifyUiOps *finch_notify_get_ui_ops()