diff mcabber/mcabber/xmpp.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 c4f67e2e675f
children d2747442918a
line wrap: on
line diff
--- a/mcabber/mcabber/xmpp.c	Sun Mar 14 12:24:44 2010 +0200
+++ b/mcabber/mcabber/xmpp.c	Sun Mar 14 12:09:08 2010 +0100
@@ -298,7 +298,7 @@
                                  LmMessage *m, gpointer user_data)
 {
   char *from = jidtodisp(lm_message_get_from(m));
-  scr_RemoveReceiptFlag(from, h);
+  scr_remove_receipt_flag(from, h);
   g_free(from);
   return LM_HANDLER_RESULT_REMOVE_MESSAGE;
 }
@@ -954,7 +954,7 @@
   rosternotes = NULL;
   // Update display
   update_roster = TRUE;
-  scr_UpdateBuddyWindow();
+  scr_update_buddy_window();
 
   if (!reason)
     scr_LogPrint(LPRINT_LOGNORM, "Disconnected.");
@@ -1145,7 +1145,7 @@
     }
 
     buddylist_build();
-    scr_DrawRoster();
+    scr_draw_roster();
     goto gotmessage_return;
   }
 
@@ -1249,7 +1249,7 @@
       g_free(s);
       g_free(mbuf);
       // The topic is displayed in the chat status line, so refresh now.
-      scr_UpdateChatStatus(TRUE);
+      scr_update_chat_status(TRUE);
     }
   }
 
@@ -1920,14 +1920,14 @@
       mystatusmsg = NULL;
   }
 
-  if (!scr_CursesStatus())
+  if (!scr_curses_status())
     return;  // Called from config. file
 
   if (!Autoaway)
     update_last_use();
 
   // Update status line
-  scr_UpdateMainStatus(TRUE);
+  scr_update_main_status(TRUE);
 }