Mercurial > pidgin.yaz
view src/win32/wgaimerror.h @ 4145:b658b502b096
[gaim-migrate @ 4363]
gtk1.2 code in anything except the buddy list window is a bug. this patch from
David Brigada (jsi):
" This patch changes the mechanism in which Gaim changes
the colors on tabs for typing notification, new message
notification, etc.. The previous mechanism was causing
the font to change (possible mix of gtk1.2 and gtk2.0
code). Instead of loading the label's preferences with
gtk_widget_get_modifier_style(), changing the color
(with a -> edit), and then saving the label's
preferences with gtk_widget_modify_style(), it changes
the color with gtk_widget_modify_fg(). This fixes the
font problem on my computer. The GTK 2.0 API docs seem
to suggest the use of gtk_widget_modify_fg() over
gtk_widget_modify_style() when necessary."
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Thu, 26 Dec 2002 15:40:23 +0000 |
parents | 391fd7aebe7c |
children | 9657e243d001 |
line wrap: on
line source
/* * wgaimerror.h * * Author: Herman Bloggs <hermanator12002@yahoo.com> * Date: October 14, 2002 * Description: Redefine Unix Errors */ #ifndef _WGAIMERROR_H #define _WGAIMERROR_H /* Here we define unix socket errors as windows socket errors */ #define ENETDOWN WSAENETDOWN #define EAFNOSUPPORT WSAEAFNOSUPPORT #define EINPROGRESS WSAEINPROGRESS #define ENOBUFS WSAENOBUFS #define EPROTONOSUPPORT WSAEPROTONOSUPPORT #define EPROTOTYPE WSAEPROTOTYPE #define ESOCKTNOSUPPORT WSAESOCKTNOSUPPORT #define EADDRINUSE WSAEADDRINUSE #define EINPROGRESS WSAEINPROGRESS #define EALREADY WSAEALREADY #define EADDRNOTAVAIL WSAEADDRNOTAVAIL #define ECONNREFUSED WSAECONNREFUSED #define EISCONN WSAEISCONN #define ENETUNREACH WSAENETUNREACH #define ENOTSOCK WSAENOTSOCK #define ETIMEDOUT WSAETIMEDOUT #define EWOULDBLOCK WSAEWOULDBLOCK #define ENOTCONN WSAENOTCONN #define ENETRESET WSAENETRESET #define EOPNOTSUPP WSAEOPNOTSUPP #define ESHUTDOWN WSAESHUTDOWN #define EMSGSIZE WSAEMSGSIZE #define ECONNABORTED WSAECONNABORTED #define ECONNRESET WSAECONNRESET #endif /* end _WGAIMERROR_H */