comparison src/skins/ui_skinned_textbox.c @ 2635:b990e7eb0c25

save config on plugin cleanup
author Tomasz Mon <desowin@gmail.com>
date Fri, 23 May 2008 11:50:18 +0200
parents 5ae914e1b78c
children 32e99af83a3e
comparison
equal deleted inserted replaced
2634:43a07a0607da 2635:b990e7eb0c25
705 g_free(pixmaptext); 705 g_free(pixmaptext);
706 } 706 }
707 707
708 void ui_skinned_textbox_set_scroll(GtkWidget *widget, gboolean scroll) { 708 void ui_skinned_textbox_set_scroll(GtkWidget *widget, gboolean scroll) {
709 g_return_if_fail(widget != NULL); 709 g_return_if_fail(widget != NULL);
710 g_return_if_fail(UI_SKINNED_IS_TEXTBOX(widget));
711
710 UiSkinnedTextbox *textbox = UI_SKINNED_TEXTBOX(widget); 712 UiSkinnedTextbox *textbox = UI_SKINNED_TEXTBOX(widget);
711 UiSkinnedTextboxPrivate *priv = UI_SKINNED_TEXTBOX_GET_PRIVATE(textbox); 713 UiSkinnedTextboxPrivate *priv = UI_SKINNED_TEXTBOX_GET_PRIVATE(textbox);
712 714
713 priv->scroll_enabled = scroll; 715 priv->scroll_enabled = scroll;
714 if (priv->scroll_enabled && priv->is_scrollable && priv->scroll_allowed) { 716 if (priv->scroll_enabled && priv->is_scrollable && priv->scroll_allowed) {