comparison src/gtkutils.h @ 13783:a539caf502b0

[gaim-migrate @ 16195] Rest of SF Patch #1492122 from Sadrul Some typo fixes and doc cleanups. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Sun, 21 May 2006 03:10:46 +0000
parents 689f652480f7
children 853fefb07c79
comparison
equal deleted inserted replaced
13782:f4f68315a07a 13783:a539caf502b0
407 407
408 /** 408 /**
409 * Create a Gaim running-man icon with the status emblem overlayed 409 * Create a Gaim running-man icon with the status emblem overlayed
410 * in the lower right corner. 410 * in the lower right corner.
411 * 411 *
412 * @param status_type The status type to set the emblem for. 412 * @param primitive The status type to set the emblem for.
413 * @param scale_factor The amount to scale to the original image. 413 * @param scale_factor The amount to scale to the original image.
414 * The default size is 32x32 pixels. A scale 414 * The default size is 32x32 pixels. A scale
415 * factor of 1 means no scaling will be done. 415 * factor of 1 means no scaling will be done.
416 * A scale factor of 0.5 means the length 416 * A scale factor of 0.5 means the length
417 * and width will be 16 pixels each. 417 * and width will be 16 pixels each.
421 * the file could not be opened, there was no loader for 421 * the file could not be opened, there was no loader for
422 * the file's format, there was not enough memory to 422 * the file's format, there was not enough memory to
423 * allocate the image buffer, or the image file contained 423 * allocate the image buffer, or the image file contained
424 * invalid data. 424 * invalid data.
425 */ 425 */
426 GdkPixbuf *gaim_gtk_create_gaim_icon_with_status(GaimStatusPrimitive primitve, double scale_factor); 426 GdkPixbuf *gaim_gtk_create_gaim_icon_with_status(GaimStatusPrimitive primitive, double scale_factor);
427 427
428 428
429 /** 429 /**
430 * Append a GaimMenuAction to a menu. 430 * Append a GaimMenuAction to a menu.
431 * 431 *
432 * @param menu The menu to append to. 432 * @param menu The menu to append to.
433 * @param act The GaimMenuAction to append. 433 * @param act The GaimMenuAction to append.
434 * @param object The object to be passed to the action callback. 434 * @param gobject The object to be passed to the action callback.
435 * 435 *
436 * @return The menu. 436 * @return The menu.
437 */ 437 */
438 void gaim_gtk_append_menu_action(GtkWidget *menu, GaimMenuAction *act, 438 void gaim_gtk_append_menu_action(GtkWidget *menu, GaimMenuAction *act,
439 gpointer gobject); 439 gpointer gobject);