comparison src/perl.c @ 1250:b5783215b245

[gaim-migrate @ 1260] decklin's clean up of the account editor, much needed. indent -kr -i8 -l105 -ncs -cp7 -npcs -T GtkWidget -T gpointer -T AppletCallbackFunc -T GtkFunction -T gaim_plugin_remove -T name -T FILE -T gchar -T user_opts -T GdkEvent -T GtkObject ... did about.c, aim.c, away.c, browser.c, buddy_chat.c, gaimrc.c, html.c, idle.c, multi.c. Need to do buddy.c, conversation.c, dialogs.c, oscar.c, perl.c, plugins.c, prefs.c, proxy.c, prpl.c, rvous.c, server.c, sound.c, toc.c, util.c. not doing gtkhtml.c because it's a piece of crap anyway, or *ticker.c because they're syd's. got rid of debug_buff, just debug_printf now. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 13 Dec 2000 20:18:35 +0000
parents 1881b8c12350
children 2d7601acacdd
comparison
equal deleted inserted replaced
1249:3e44de27622d 1250:b5783215b245
562 562
563 handler = g_new0(struct _perl_event_handlers, 1); 563 handler = g_new0(struct _perl_event_handlers, 1);
564 handler->event_type = g_strdup(SvPV(ST(0), junk)); 564 handler->event_type = g_strdup(SvPV(ST(0), junk));
565 handler->handler_name = g_strdup(SvPV(ST(1), junk)); 565 handler->handler_name = g_strdup(SvPV(ST(1), junk));
566 perl_event_handlers = g_list_append(perl_event_handlers, handler); 566 perl_event_handlers = g_list_append(perl_event_handlers, handler);
567 sprintf(debug_buff, "registered perl event handler for %s\n", handler->event_type); 567 debug_printf("registered perl event handler for %s\n", handler->event_type);
568 debug_print(debug_buff);
569 XSRETURN_EMPTY; 568 XSRETURN_EMPTY;
570 } 569 }
571 570
572 static int perl_timeout(struct _perl_timeout_handlers *handler) 571 static int perl_timeout(struct _perl_timeout_handlers *handler)
573 { 572 {