Mercurial > pidgin
comparison src/gtkutils.h @ 7538:357eb1c39b72
[gaim-migrate @ 8151]
Robot101 made a nice patch (which I modified just slightly) to put our
gtkspell attachment function that we use all throughout gaim into a utility
function, which handles error checking and only does anything if gtkspell
support is compiled in. It lets us remove a lot of #ifdef USE_GTKSPELL from
places, and doesn't change any functionality.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Mon, 17 Nov 2003 06:48:01 +0000 |
parents | 53c86d59f20b |
children | 2823111061ba |
comparison
equal
deleted
inserted
replaced
7537:083427fd8ba8 | 7538:357eb1c39b72 |
---|---|
271 * @param list A pointer to the GSList of GdkPixbufs that will be created. | 271 * @param list A pointer to the GSList of GdkPixbufs that will be created. |
272 */ | 272 */ |
273 void gaim_gtk_find_images(const char *message, GSList **list); | 273 void gaim_gtk_find_images(const char *message, GSList **list); |
274 | 274 |
275 /** | 275 /** |
276 * Sets up GtkSpell for the given GtkTextView, reporting errors | |
277 * if encountered. | |
278 * | |
279 * This does nothing if Gaim is not compiled with GtkSpell support. | |
280 * | |
281 * @param textview The textview widget to setup spellchecking for. | |
282 */ | |
283 void gaim_gtk_setup_gtkspell(GtkTextView *textview); | |
284 | |
285 /** | |
276 * Stylizes the specified text using HTML, according to the current | 286 * Stylizes the specified text using HTML, according to the current |
277 * font options. | 287 * font options. |
278 * | 288 * |
279 * @param text The text to stylize. | 289 * @param text The text to stylize. |
280 * @param len The intended length of the new buffer. | 290 * @param len The intended length of the new buffer. |
288 | 298 |
289 /** | 299 /** |
290 * Save menu accelerators callback | 300 * Save menu accelerators callback |
291 */ | 301 */ |
292 void gaim_gtk_save_accels_cb(GtkAccelGroup *accel_group, guint arg1, | 302 void gaim_gtk_save_accels_cb(GtkAccelGroup *accel_group, guint arg1, |
293 GdkModifierType arg2, GClosure *arg3, | 303 GdkModifierType arg2, GClosure *arg3, |
294 gpointer data); | 304 gpointer data); |
295 | 305 |
296 /** | 306 /** |
297 * Save menu accelerators | 307 * Save menu accelerators |
298 */ | 308 */ |
299 gboolean gaim_gtk_save_accels(gpointer data); | 309 gboolean gaim_gtk_save_accels(gpointer data); |