Mercurial > pidgin.yaz
comparison src/eventloop.c @ 11291:57fccea36e36
[gaim-migrate @ 13491]
Gaim should pretty much never call g_assert. If any of these changes
are in your code, you should try to take a look at the change and
make sure Gaim won't crash after the function g_return_if_fails.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 18 Aug 2005 03:14:29 +0000 |
parents | 62fc579810f4 |
children |
comparison
equal
deleted
inserted
replaced
11290:b284c703d398 | 11291:57fccea36e36 |
---|---|
65 } | 65 } |
66 | 66 |
67 GaimEventLoopUiOps * | 67 GaimEventLoopUiOps * |
68 gaim_eventloop_get_ui_ops(void) | 68 gaim_eventloop_get_ui_ops(void) |
69 { | 69 { |
70 g_assert(eventloop_ui_ops != NULL); | 70 g_return_val_if_fail(eventloop_ui_ops != NULL, NULL); |
71 | 71 |
72 return eventloop_ui_ops; | 72 return eventloop_ui_ops; |
73 } | 73 } |