Mercurial > pidgin
diff src/gtkimhtml.c @ 3717:988485669631
[gaim-migrate @ 3850]
Warning fixes and WIN32 ifdef removals
committer: Tailor Script <tailor@pidgin.im>
| author | Herman Bloggs <hermanator12002@yahoo.com> |
|---|---|
| date | Wed, 16 Oct 2002 19:57:03 +0000 |
| parents | 91498932cea7 |
| children | 30f52e7afd1d |
line wrap: on
line diff
--- a/src/gtkimhtml.c Wed Oct 16 19:44:19 2002 +0000 +++ b/src/gtkimhtml.c Wed Oct 16 19:57:03 2002 +0000 @@ -107,6 +107,11 @@ gchar **image; }; +/* + * PROTOS + */ +extern void debug_printf(char * fmt, ...); + static GtkSmileyTree* gtk_smiley_tree_new () { @@ -2095,24 +2100,13 @@ #define RGSTRY 13 #define ENCDNG 14 +#if 0 static const gchar* gtk_imhtml_get_font_name (PangoFontDescription *font) { -#if 0 -#ifndef _WIN32 - return gdk_x11_font_get_name(font); -#else -#if 0 - /* win32 gdkfont.h says this is temporary - GTK 2.0.3 */ - return gdk_font_full_name_get(font); -#else - /* So i can build with GTK 2.0.6 */ - return "-unknown-arial-normal-r-normal---18--108-120-120-p-0-microsoft-vietnamese-unknown-arial-normal-r-normal---18--108-120-120-p-0-microsoft-vietnamese27"; -#endif -#endif -#endif return pango_font_description_get_family(font); } +#endif static PangoFontDescription * gtk_imhtml_font_load (GtkIMHtml *imhtml, @@ -2835,13 +2829,13 @@ *replace = ' '; *length = 6; } else if (!g_strncasecmp (string, "©", 6)) { - *replace = '©'; + *replace = '©'; /* was: '©' */ *length = 6; } else if (!g_strncasecmp (string, """, 6)) { *replace = '\"'; *length = 6; } else if (!g_strncasecmp (string, "®", 5)) { - *replace = '®'; + *replace = '®'; /* was: '®' */ *length = 5; } else if (*(string + 1) == '#') { guint pound = 0;
