Mercurial > ~mikael > mcabber > hg
diff mcabber/mcabber/hooks.c @ 1780:e4378fbab5d7
Major API cleanup - bump API to 4
Get rid of old CamelCase names in screen.h
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 14 Mar 2010 12:09:08 +0100 |
parents | e6e89b1d7831 |
children | af3de54ef986 |
line wrap: on
line diff
--- a/mcabber/mcabber/hooks.c Sun Mar 14 12:24:44 2010 +0200 +++ b/mcabber/mcabber/hooks.c Sun Mar 14 12:09:08 2010 +0100 @@ -291,7 +291,7 @@ if (settings_opt_get_int("beep_on_message")) { if ((!is_groupchat && !(message_flags & HBB_PREFIX_ERR)) || (is_groupchat && (message_flags & HBB_PREFIX_HLIGHT))) - scr_Beep(); + scr_beep(); } // We need to update the roster if the sender is unknown or @@ -423,7 +423,7 @@ if (st_in_buf == 2 || (st_in_buf == 1 && (status == offline || oldstat == offline))) { // Write the status change in the buddy's buffer, only if it already exists - if (scr_BuddyBufferExists(bjid)) { + if (scr_buddy_buffer_exists(bjid)) { bn = g_strdup_printf("Buddy status has changed: [%c>%c] %s", imstatus2char[oldstat], imstatus2char[status], ((status_msg) ? status_msg : "")); @@ -436,7 +436,7 @@ roster_setstatus(bjid, rn, prio, status, status_msg, timestamp, role_none, affil_none, NULL); buddylist_build(); - scr_DrawRoster(); + scr_draw_roster(); hlog_write_status(bjid, timestamp, status, status_msg); #ifdef MODULES_ENABLE