comparison pidgin/gtkutils.h @ 31816:917c597beb97

Add pidgin_make_scrollable and use it. Cleans up a bunch of duplicate code. Net code loss of 180 lines. Fixes #13073. committer: John Bailey <rekkanoryo@rekkanoryo.org>
author Gabriel Schulhof <nix@go-nix.ca>
date Sat, 08 Jan 2011 03:45:42 +0000
parents 8e9b04071e79
children 7281d151e492 59426f92168f
comparison
equal deleted inserted replaced
31815:d169a587901f 31816:917c597beb97
843 * @since 2.5.0 843 * @since 2.5.0
844 */ 844 */
845 GdkPixbuf *pidgin_pixbuf_from_imgstore(PurpleStoredImage *image); 845 GdkPixbuf *pidgin_pixbuf_from_imgstore(PurpleStoredImage *image);
846 846
847 /** 847 /**
848 * Add scrollbars to a widget
849 * @param widget The child widget
850 * @hscrollbar_policy Horizontal scrolling policy
851 * @vscrollbar_policy Vertical scrolling policy
852 * @shadow Shadow type
853 * @width Desired widget width, or -1 for default
854 * @height Desired widget height, or -1 for default
855 *
856 * @since 2.8.0
857 */
858 GtkWidget *pidgin_make_scrollable(GtkWidget *child, GtkPolicyType hscrollbar_policy, GtkPolicyType vscrollbar_policy, GtkShadowType shadow_type, int width, int height);
859
860 /**
848 * Initialize some utility functions. 861 * Initialize some utility functions.
849 * 862 *
850 * @since 2.6.0 863 * @since 2.6.0
851 */ 864 */
852 void pidgin_utils_init(void); 865 void pidgin_utils_init(void);