Mercurial > pidgin
comparison src/gtkimhtml.c @ 10900:d056acc96b30
[gaim-migrate @ 12621]
Argh! thanks Daniel
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Thu, 05 May 2005 18:21:27 +0000 |
parents | 1e6bdc7175e9 |
children | 0711078e0e2d |
comparison
equal
deleted
inserted
replaced
10899:1e6bdc7175e9 | 10900:d056acc96b30 |
---|---|
96 static void paste_received_cb (GtkClipboard *clipboard, GtkSelectionData *selection_data, gpointer data); | 96 static void paste_received_cb (GtkClipboard *clipboard, GtkSelectionData *selection_data, gpointer data); |
97 static void paste_plaintext_received_cb (GtkClipboard *clipboard, const gchar *text, gpointer data); | 97 static void paste_plaintext_received_cb (GtkClipboard *clipboard, const gchar *text, gpointer data); |
98 | 98 |
99 /* POINT_SIZE converts from AIM font sizes to a point size scale factor. */ | 99 /* POINT_SIZE converts from AIM font sizes to a point size scale factor. */ |
100 #define MAX_FONT_SIZE 7 | 100 #define MAX_FONT_SIZE 7 |
101 #define POINT_SIZE(x) (_point_sizes [MIN ((x > 0 ? x : 1), MAX_FONT_SCALE) - 1]) | 101 #define POINT_SIZE(x) (_point_sizes [MIN ((x > 0 ? x : 1), MAX_FONT_SIZE) - 1]) |
102 static gdouble _point_sizes [] = { .69444444, .8333333, 1, 1.2, 1.44, 1.728, 2.0736}; | 102 static gdouble _point_sizes [] = { .69444444, .8333333, 1, 1.2, 1.44, 1.728, 2.0736}; |
103 | 103 |
104 enum { | 104 enum { |
105 TARGET_HTML, | 105 TARGET_HTML, |
106 TARGET_UTF8_STRING, | 106 TARGET_UTF8_STRING, |