Mercurial > pidgin.yaz
diff pidgin/gtkutils.h @ 15413:e6b40365930c
More statusbox tweaks:
- Integrate more Tango icons
- When using opaque buddy icons, draw a slight button
border around the icon selector, causing it to look
better next to the status dropdown.
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Thu, 25 Jan 2007 08:42:26 +0000 |
parents | 5fe8042783c1 |
children | 29e443e0613f |
line wrap: on
line diff
--- a/pidgin/gtkutils.h Thu Jan 25 03:16:24 2007 +0000 +++ b/pidgin/gtkutils.h Thu Jan 25 08:42:26 2007 +0000 @@ -542,6 +542,15 @@ */ void gaim_gtk_set_urgent(GtkWindow *window, gboolean urgent); +/** + * Returns TRUE if the GdkPixbuf is opaque, as determined by no + * alpha at any of the edge pixels. + * + * @param pixbuf The pixbug + * @return TRUE if the pixbuf is opaque around the edges, FALSE otherwise + */ +gboolean gaim_gdk_pixbuf_is_opaque(GdkPixbuf *pixbuf); + #if !GTK_CHECK_VERSION(2,2,0) /** * This is copied from Gtk to support Gtk 2.0