diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2007-05-20 23:13:29 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2007-05-20 23:13:29 +0000 |
commit | afa4292466c6de093d0cdf359a91160886933507 (patch) | |
tree | c75be7d3d2bc7309fb363c13cd557a406a9267e2 /src/perl | |
parent | cb1287ab63549186e1841a7e63f7a7d5b4be3b4d (diff) | |
download | irssi-afa4292466c6de093d0cdf359a91160886933507.zip |
Farewell glib-1.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4509 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl')
-rw-r--r-- | src/perl/perl-common.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/perl/perl-common.c b/src/perl/perl-common.c index 68a1631e..9fe8d587 100644 --- a/src/perl/perl-common.c +++ b/src/perl/perl-common.c @@ -584,13 +584,8 @@ static void perl_register_protocol(CHAT_PROTOCOL_REC *rec) chat_type = chat_protocol_lookup(rec->name); g_return_if_fail(chat_type >= 0); -#if GLIB_MAJOR_VERSION < 2 - name = g_strdup(rec->name); - g_strdown(name+1); -#else name = g_ascii_strdown(rec->name,-1); *name = *(rec->name); -#endif /* window items: channel, query */ type = module_get_uniq_id_str("WINDOW ITEM TYPE", "CHANNEL"); |