Mercurial > audlegacy
diff src/audacious/ui_skinned_textbox.c @ 4119:9d4b5cdae3ba
oops, fix previous commit
| author | Tomasz Mon <desowin@gmail.com> |
|---|---|
| date | Tue, 25 Dec 2007 16:42:10 +0100 |
| parents | 1112f53ecc18 |
| children | 07c1639b110b |
line wrap: on
line diff
--- a/src/audacious/ui_skinned_textbox.c Tue Dec 25 16:28:34 2007 +0100 +++ b/src/audacious/ui_skinned_textbox.c Tue Dec 25 16:42:10 2007 +0100 @@ -276,7 +276,7 @@ UiSkinnedTextbox *textbox = UI_SKINNED_TEXTBOX (widget); UiSkinnedTextboxPrivate *priv = UI_SKINNED_TEXTBOX_GET_PRIVATE(textbox); - g_return_val_if_fail (textbox->width > 0 || textbox->height > 0, FALSE); + g_return_val_if_fail (textbox->width > 0 && textbox->height > 0, FALSE); GdkPixmap *obj = NULL; GdkGC *gc; @@ -528,7 +528,7 @@ g_return_if_fail(textbox != NULL); g_return_if_fail(pixmaptext != NULL); - g_return_val_if_fail (textbox->height > 0, FALSE); + g_return_if_fail(textbox->height > 0); UiSkinnedTextboxPrivate *priv = UI_SKINNED_TEXTBOX_GET_PRIVATE(textbox);
