Fix some compilation warnings
[ardour.git] / libs / clearlooks-newer / clearlooks_style.c
index eafb2d2ec16d78e68a0ea532d28888608f868844..f1b46a54268b34c97e00e0e6100b6d8b01748aa6 100644 (file)
@@ -536,7 +536,6 @@ clearlooks_style_draw_box (DRAW_ARGS)
        else if (DETAIL ("button") || DETAIL ("buttondefault"))
        {
                WidgetParameters params;
-               ShadowParameters shadow = { CR_CORNER_ALL, CL_SHADOW_NONE } ;
                clearlooks_set_widget_parameters (widget, style, state_type, &params);
 
                if (ge_is_in_combo_box(widget))
@@ -545,23 +544,21 @@ clearlooks_style_draw_box (DRAW_ARGS)
                                params.corners = CR_CORNER_TOPRIGHT | CR_CORNER_BOTTOMRIGHT;
                        else
                                params.corners = CR_CORNER_TOPLEFT | CR_CORNER_BOTTOMLEFT;
-                       
-                       shadow.shadow = CL_SHADOW_IN;
 
                        if (params.xthickness > 2)
                        {
                                if (params.ltr)
                                        x--;
                                width++;
-                       }                       
+                       }
                }
                else
                {
                        params.corners    = CR_CORNER_ALL;
                        /* if (!(ge_is_combo_box (widget, FALSE))) */
                        params.enable_glow = TRUE;
-               }               
-       
+               }
+
                if (GE_IS_TOGGLE_BUTTON (widget) &&
                    gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (widget)))
                        params.active = TRUE;