X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=render%2Ftheme.c;h=4f86c8d062ea02a344b9403c371e0d9a137cd0cf;hb=c791cbfda0865a9716419c533b665d0550ae2916;hp=7e45b86fe4aed1198a93a7ef46c17d018140167c;hpb=dc92dbfc56e2801233d6c7a21bc07f8763d9cc67;p=chaz%2Fopenbox diff --git a/render/theme.c b/render/theme.c index 7e45b86f..4f86c8d0 100644 --- a/render/theme.c +++ b/render/theme.c @@ -871,14 +871,8 @@ static void parse_appearance(gchar *tex, RrSurfaceColorType *grad, if (strstr(tex, "gradient") != NULL) { if (strstr(tex, "crossdiagonal") != NULL) *grad = RR_SURFACE_CROSS_DIAGONAL; - else if (strstr(tex, "rectangle") != NULL) - *grad = RR_SURFACE_RECTANGLE; else if (strstr(tex, "pyramid") != NULL) *grad = RR_SURFACE_PYRAMID; - else if (strstr(tex, "pipecross") != NULL) - *grad = RR_SURFACE_PIPECROSS; - else if (strstr(tex, "elliptic") != NULL) - *grad = RR_SURFACE_PIPECROSS; else if (strstr(tex, "horizontal") != NULL) *grad = RR_SURFACE_HORIZONTAL; else if (strstr(tex, "vertical") != NULL)