# HG changeset patch # User Elliott Sales de Andrade # Date 1266291982 0 # Node ID f94d701aa3065a7910c2cd2e8fd5c6c99b06dd5e # Parent 2c84c8d4a34d1e0880b408d0c1306dfd5c98b073 Remove old GLIB_CHECK_VERSION calls in finch. Refs #10024. diff -r 2c84c8d4a34d -r f94d701aa306 finch/finch.c --- a/finch/finch.c Tue Feb 16 01:26:45 2010 +0000 +++ b/finch/finch.c Tue Feb 16 03:46:22 2010 +0000 @@ -431,9 +431,7 @@ g_thread_init(NULL); g_set_prgname("Finch"); -#if GLIB_CHECK_VERSION(2,2,0) g_set_application_name(_("Finch")); -#endif if (gnt_start(&argc, &argv)) { gnt_main(); diff -r 2c84c8d4a34d -r f94d701aa306 finch/gntconv.c --- a/finch/gntconv.c Tue Feb 16 01:26:45 2010 +0000 +++ b/finch/gntconv.c Tue Feb 16 03:46:22 2010 +0000 @@ -1318,7 +1318,6 @@ return PURPLE_CMD_RET_OK; } -#if GLIB_CHECK_VERSION(2,6,0) static PurpleCmdRet cmd_message_color(PurpleConversation *conv, const char *cmd, char **args, char **error, gpointer data) { @@ -1359,7 +1358,6 @@ return PURPLE_CMD_RET_OK; } -#endif static PurpleCmdRet users_command_cb(PurpleConversation *conv, const char *cmd, char **args, char **error, gpointer data) @@ -1445,7 +1443,6 @@ PURPLE_CMD_FLAG_CHAT | PURPLE_CMD_FLAG_IM, NULL, cmd_show_window, _("statuses: Show the savedstatuses window."), finch_savedstatus_show_all); -#if GLIB_CHECK_VERSION(2,6,0) /* Allow customizing the message colors using a command during run-time */ purple_cmd_register("msgcolor", "www", PURPLE_CMD_P_DEFAULT, PURPLE_CMD_FLAG_CHAT | PURPLE_CMD_FLAG_IM, NULL, @@ -1455,7 +1452,6 @@ " <foreground/background>: black, red, green, blue, white, gray, darkgray, magenta, cyan, default

" "EXAMPLE:
msgcolor send cyan default"), NULL); -#endif purple_signal_connect(purple_conversations_get_handle(), "buddy-typing", finch_conv_get_handle(), PURPLE_CALLBACK(update_buddy_typing), NULL);