comparison finch/finch.c @ 23456:00eaff9396ec

propagate from branch 'im.pidgin.pidgin' (head e39a6e9be3df05b59a878001feb9276b9ceb66a9) to branch 'im.pidgin.pidgin.khc.msnp15' (head c5b8a906c26f5cb0fd8c7256852e3c1e346d7863)
author Ka-Hing Cheung <khc@hxbc.us>
date Wed, 06 Feb 2008 03:35:04 +0000
parents c38d72677c8a
children 2ccda8e9046d
comparison
equal deleted inserted replaced
23455:f182cf94145c 23456:00eaff9396ec
47 #include <getopt.h> 47 #include <getopt.h>
48 48
49 #include "config.h" 49 #include "config.h"
50 50
51 static void 51 static void
52 debug_init() 52 debug_init(void)
53 { 53 {
54 finch_debug_init(); 54 finch_debug_init();
55 purple_debug_set_ui_ops(finch_debug_get_ui_ops()); 55 purple_debug_set_ui_ops(finch_debug_get_ui_ops());
56 } 56 }
57 57
58 static GHashTable *ui_info = NULL; 58 static GHashTable *ui_info = NULL;
59 static GHashTable *finch_ui_get_info() 59 static GHashTable *finch_ui_get_info(void)
60 { 60 {
61 if (ui_info == NULL) { 61 if (ui_info == NULL) {
62 ui_info = g_hash_table_new(g_str_hash, g_str_equal); 62 ui_info = g_hash_table_new(g_str_hash, g_str_equal);
63 63
64 g_hash_table_insert(ui_info, "name", (char*)_("Finch")); 64 g_hash_table_insert(ui_info, "name", (char*)_("Finch"));
89 NULL, 89 NULL,
90 NULL 90 NULL
91 }; 91 };
92 92
93 static PurpleCoreUiOps * 93 static PurpleCoreUiOps *
94 gnt_core_get_ui_ops() 94 gnt_core_get_ui_ops(void)
95 { 95 {
96 return &core_ops; 96 return &core_ops;
97 } 97 }
98 98
99 /* Anything IO-related is directly copied from gtkpurple's source tree */ 99 /* Anything IO-related is directly copied from gtkpurple's source tree */