Mercurial > pidgin.yaz
diff src/ft.c @ 7035:feb3d21a7794
[gaim-migrate @ 7598]
Standardized the UI op accessor functions in every file. They're now
properly namespaced.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Mon, 29 Sep 2003 23:39:02 +0000 |
parents | 16fcc379e484 |
children | 02f697df677b |
line wrap: on
line diff
--- a/src/ft.c Mon Sep 29 22:56:15 2003 +0000 +++ b/src/ft.c Mon Sep 29 23:39:02 2003 +0000 @@ -43,7 +43,7 @@ xfer->type = type; xfer->account = account; xfer->who = g_strdup(who); - xfer->ui_ops = gaim_get_xfer_ui_ops(); + xfer->ui_ops = gaim_xfers_get_ui_ops(); xfer->local_ip = g_strdup(gaim_xfers_get_ip_for_account(account)); @@ -90,7 +90,7 @@ g_return_if_fail(xfer != NULL); g_return_if_fail(xfer->ops.init != NULL); - ui_ops = gaim_get_xfer_ui_ops(); + ui_ops = gaim_xfers_get_ui_ops(); if (ui_ops == NULL || ui_ops->request_file == NULL) return; @@ -766,15 +766,13 @@ } void -gaim_set_xfer_ui_ops(GaimXferUiOps *ops) +gaim_xfers_set_ui_ops(GaimXferUiOps *ops) { - g_return_if_fail(ops != NULL); - xfer_ui_ops = ops; } GaimXferUiOps * -gaim_get_xfer_ui_ops(void) +gaim_xfers_get_ui_ops(void) { return xfer_ui_ops; }