diff options
author | Gary Kramlich <grim@reaperworld.com> | 2022-09-20 03:25:22 -0500 |
---|---|---|
committer | Gary Kramlich <grim@reaperworld.com> | 2022-09-20 03:25:22 -0500 |
commit | 2179b710eaa6959693773c2a36af9e9f9206f9d6 (patch) | |
tree | 9da307e119020eb8fc17b345e962f6fc3395bb1c /finch | |
parent | 7ace37827cfc484494017665bc875b1955f8324b (diff) | |
download | pidgin-2179b710eaa6959693773c2a36af9e9f9206f9d6.tar.gz |
Move PurpleCoreUiOps to struct intializers.
I missed this one before.
Testing Done:
Compiled
Reviewed at https://reviews.imfreedom.org/r/1817/
Diffstat (limited to 'finch')
-rw-r--r-- | finch/libfinch.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/finch/libfinch.c b/finch/libfinch.c index bf2267ab02..4bcd19185b 100644 --- a/finch/libfinch.c +++ b/finch/libfinch.c @@ -45,11 +45,10 @@ finch_quit(void) finch_ui_uninit(); } -static PurpleCoreUiOps core_ops = -{ - finch_prefs_init, - finch_ui_init, - finch_quit, +static PurpleCoreUiOps core_ops = { + .ui_prefs_init = finch_prefs_init, + .ui_init = finch_ui_init, + .quit = finch_quit, }; static PurpleCoreUiOps * |