comparison src/gtkmain.c @ 11080:f54740547c95

[gaim-migrate @ 13092] All gaim signals are automatically relayed to dbus. committer: Tailor Script <tailor@pidgin.im>
author Piotr Zielinski <zielaj>
date Sun, 10 Jul 2005 02:29:52 +0000
parents 2eca9ed49469
children ebb02ea3c789
comparison
equal deleted inserted replaced
11079:b2ace57224e2 11080:f54740547c95
492 bindtextdomain(PACKAGE, LOCALEDIR); 492 bindtextdomain(PACKAGE, LOCALEDIR);
493 bind_textdomain_codeset(PACKAGE, "UTF-8"); 493 bind_textdomain_codeset(PACKAGE, "UTF-8");
494 textdomain(PACKAGE); 494 textdomain(PACKAGE);
495 #endif 495 #endif
496 496
497
497 #if HAVE_SIGNAL_H 498 #if HAVE_SIGNAL_H
498 /* Let's not violate any PLA's!!!! */ 499 /* Let's not violate any PLA's!!!! */
499 /* jseymour: whatever the fsck that means */ 500 /* jseymour: whatever the fsck that means */
500 /* Robot101: for some reason things like gdm like to block * 501 /* Robot101: for some reason things like gdm like to block *
501 * useful signals like SIGCHLD, so we unblock all the ones we * 502 * useful signals like SIGCHLD, so we unblock all the ones we *
615 #ifdef _WIN32 616 #ifdef _WIN32
616 wgaim_init(hint); 617 wgaim_init(hint);
617 #endif 618 #endif
618 619
619 #ifdef HAVE_DBUS 620 #ifdef HAVE_DBUS
620 /* start dbus pointer registration system */ 621 gaim_dbus_init();
621 gaim_dbus_init_ids();
622 #endif 622 #endif
623 623
624 gaim_core_set_ui_ops(gaim_gtk_core_get_ui_ops()); 624 gaim_core_set_ui_ops(gaim_gtk_core_get_ui_ops());
625 gaim_eventloop_set_ui_ops(gaim_gtk_eventloop_get_ui_ops()); 625 gaim_eventloop_set_ui_ops(gaim_gtk_eventloop_get_ui_ops());
626 626
725 gaim_debug_register_category("prpl"); 725 gaim_debug_register_category("prpl");
726 gaim_debug_register_category("server"); 726 gaim_debug_register_category("server");
727 gaim_debug_register_category("stringref"); 727 gaim_debug_register_category("stringref");
728 728
729 #ifdef HAVE_DBUS 729 #ifdef HAVE_DBUS
730 /* Starting DBUS */ 730 gaim_dbus_connect(gaim_dbus_object);
731 dbus_server_init();
732 #endif 731 #endif
733 732
734 gtk_main(); 733 gtk_main();
735 734
736 #ifdef _WIN32 735 #ifdef _WIN32