view pidgin/plugins/crazychat/main.c @ 15565:45d3dd67fa13

With the refactoring I did, it's now possible to reach timestamp_cb_common with conv == NULL. It happens with system logs. I've reworked the code accordingly to avoid an assertion failure.
author Richard Laager <rlaager@wiktel.com>
date Mon, 05 Feb 2007 05:28:54 +0000
parents 5fe8042783c1
children a8cc50c2279f
line wrap: on
line source

/sw/#ifdef __APPLE_CC__
#include <Carbon/Carbon.h>
#else
#include <Carbon.h>
#endif


#include "Utilities.h"
#include "QTUtilities.h"

#include "camdata.h"
#include "camproc.h"


#define BailErr(err) {if(err != noErr) goto bail;}


int main(void)
{	
    EnterMovies();
    CamProc(); // change this prototype-> no windows
    fprintf(stderr, "you have just murdered 1000 people.");
    RunApplicationEventLoop();
    return 0;
}