Mercurial > pidgin.yaz
comparison finch/libgnt/gntinternal.h @ 28984:a18f421696dc
Fix showing umlauts etc. on non-utf8 locales.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Fri, 20 Nov 2009 21:45:44 +0000 |
parents | e2e57d3c0578 |
children | 88d889b54df4 |
comparison
equal
deleted
inserted
replaced
28983:8356e2f2486a | 28984:a18f421696dc |
---|---|
17 * | 17 * |
18 * You should have received a copy of the GNU General Public License | 18 * You should have received a copy of the GNU General Public License |
19 * along with this program; if not, write to the Free Software | 19 * along with this program; if not, write to the Free Software |
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA | 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
21 */ | 21 */ |
22 #include <glib.h> | |
22 #undef G_LOG_DOMAIN | 23 #undef G_LOG_DOMAIN |
23 #define G_LOG_DOMAIN "Gnt" | 24 #define G_LOG_DOMAIN "Gnt" |
24 | 25 |
25 #ifdef __GNUC__ | 26 #ifdef __GNUC__ |
26 # ifndef GNT_LOG_DOMAIN | 27 # ifndef GNT_LOG_DOMAIN |
29 # define gnt_warning(format, args...) g_warning("(%s) %s: " format, GNT_LOG_DOMAIN, __PRETTY_FUNCTION__, args) | 30 # define gnt_warning(format, args...) g_warning("(%s) %s: " format, GNT_LOG_DOMAIN, __PRETTY_FUNCTION__, args) |
30 #else /* __GNUC__ */ | 31 #else /* __GNUC__ */ |
31 # define gnt_warning g_warning | 32 # define gnt_warning g_warning |
32 #endif | 33 #endif |
33 | 34 |
35 extern int gnt_need_conversation_to_locale; | |
36 extern const char *C_(const char *x); | |
37 |