gtk_widget_style_get(gMenuItemWidget, "selected_shadow_type", &shadow_type, NULL);
if (have_menu_shadow_type) { gtk_widget_style_get(gMenuItemWidget, "selected_shadow_type", &shadow_type, NULL); } else { shadow_type = GTK_SHADOW_OUT; }
moz_gtk_menu_item_paint(GdkDrawable* drawable, GdkRectangle* rect,                        GdkRectangle* cliprect, GtkWidgetState* state){    GtkStyle* style;    GtkShadowType shadow_type;    if (state->inHover && !state->disabled) {        ensure_menu_item_widget();        style = gMenuItemWidget->style;        TSOffsetStyleGCs(style, rect->x, rect->y);        gtk_widget_style_get(gMenuItemWidget, "selected_shadow_type",                             &shadow_type, NULL);        gtk_paint_box(style, drawable, GTK_STATE_PRELIGHT, shadow_type,                      cliprect, gMenuItemWidget, "menuitem", rect->x, rect->y,                      rect->width, rect->height);    }    return MOZ_GTK_SUCCESS;}