Mercurial > pidgin.yaz
comparison gtk/gtkmain.c @ 14224:ab8a105eff62
[gaim-migrate @ 16905]
First step of getting wingaim working again.
libgaim and gtk are compiling.
The protocols aren't compiling yet.
There are a number of things that are compiling, but should be cleaned up.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Sun, 20 Aug 2006 16:49:37 +0000 |
parents | 009db0b357b5 |
children | bb060cdc23d1 |
comparison
equal
deleted
inserted
replaced
14223:7c560c01b8f9 | 14224:ab8a105eff62 |
---|---|
76 # include <libsn/sn-launchee.h> | 76 # include <libsn/sn-launchee.h> |
77 # include <gdk/gdkx.h> | 77 # include <gdk/gdkx.h> |
78 #endif | 78 #endif |
79 | 79 |
80 #ifdef _WIN32 | 80 #ifdef _WIN32 |
81 # include "wspell.h" | 81 # include "gtkwin32dep.h" |
82 #endif | 82 #endif |
83 | 83 |
84 | 84 |
85 | 85 |
86 #ifdef HAVE_STARTUP_NOTIFICATION | 86 #ifdef HAVE_STARTUP_NOTIFICATION |
633 * Fire up this baby. | 633 * Fire up this baby. |
634 */ | 634 */ |
635 | 635 |
636 gaim_debug_set_enabled(debug_enabled); | 636 gaim_debug_set_enabled(debug_enabled); |
637 | 637 |
638 #ifdef _WIN32 | |
639 wgaim_init(hint); | |
640 #endif | |
641 | 638 |
642 search_path = g_build_filename(gaim_user_dir(), "gtkrc-2.0", NULL); | 639 search_path = g_build_filename(gaim_user_dir(), "gtkrc-2.0", NULL); |
643 gtk_rc_add_default_file(search_path); | 640 gtk_rc_add_default_file(search_path); |
644 g_free(search_path); | 641 g_free(search_path); |
645 | 642 |
666 | 663 |
667 return 1; | 664 return 1; |
668 } | 665 } |
669 | 666 |
670 #ifdef _WIN32 | 667 #ifdef _WIN32 |
671 /** TODO: Move this to a wgaim_gtk_init() if we need such a thing */ | 668 gtkwgaim_init(hint); |
672 wgaim_gtkspell_init(); | |
673 gaim_debug_info("wgaim", "GTK+ :%u.%u.%u\n", | |
674 gtk_major_version, gtk_minor_version, gtk_micro_version); | |
675 | |
676 #endif | 669 #endif |
677 | 670 |
678 gaim_core_set_ui_ops(gaim_gtk_core_get_ui_ops()); | 671 gaim_core_set_ui_ops(gaim_gtk_core_get_ui_ops()); |
679 gaim_eventloop_set_ui_ops(gaim_gtk_eventloop_get_ui_ops()); | 672 gaim_eventloop_set_ui_ops(gaim_gtk_eventloop_get_ui_ops()); |
680 | 673 |
782 #ifdef HAVE_SIGNAL_H | 775 #ifdef HAVE_SIGNAL_H |
783 g_free(segfault_message); | 776 g_free(segfault_message); |
784 #endif | 777 #endif |
785 | 778 |
786 #ifdef _WIN32 | 779 #ifdef _WIN32 |
787 wgaim_cleanup(); | 780 gtkwgaim_cleanup(); |
788 #endif | 781 #endif |
789 | 782 |
790 return 0; | 783 return 0; |
791 } | 784 } |