summaryrefslogtreecommitdiff
path: root/finch/libfinch.c
diff options
context:
space:
mode:
authorGary Kramlich <grim@reaperworld.com>2021-10-22 03:33:32 -0500
committerGary Kramlich <grim@reaperworld.com>2021-10-22 03:33:32 -0500
commitf1da8613611d1ff9b13d3fca3f33d03a944b039d (patch)
tree0b8d5b07f2f79f2039f9457480a7c12ab0004f5d /finch/libfinch.c
parent0bc65db10522f7cb872027ada13b1cfd5fc39b87 (diff)
downloadpidgin-f1da8613611d1ff9b13d3fca3f33d03a944b039d.tar.gz
Replace PurpleIdleUiOps with the PurpleIdleUi Interface
This continues our path down replacing the UiOps with Interfaces so that developers can write user interfaces in other languages using gobject introspection. Testing Done: Ran pidgin3 and set it to auto idle after 1 minute of system idle time. This attempted to query xscreen saver, but something didn't work there, but that's been happening before this change. Not sure if it's my system or the code just needs fixing. Ran finch3 set idle time to 1 minute and verified that it set me to away after that minute. I also used the libpurple idle time for both pidgin3 and finch3 and verified they continued to work as well. Reviewed at https://reviews.imfreedom.org/r/1091/
Diffstat (limited to 'finch/libfinch.c')
-rw-r--r--finch/libfinch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/finch/libfinch.c b/finch/libfinch.c
index 983529a5e6..3e8a997a5b 100644
--- a/finch/libfinch.c
+++ b/finch/libfinch.c
@@ -167,7 +167,7 @@ init_libpurple(int argc, char **argv)
}
purple_core_set_ui_ops(gnt_core_get_ui_ops());
- purple_idle_set_ui_ops(finch_idle_get_ui_ops());
+ purple_idle_set_ui(finch_idle_new());
if (!purple_core_init(FINCH_UI))
{