TSOffsetStyleGCs(style, x, y);
moz_gtk_checkbox_paint(GdkWindow* window, GtkStyle* style,                       GdkRectangle* rect, GdkRectangle* cliprect,                       GtkWidgetState* state, gboolean selected,                       gboolean isradio){  GtkStateType state_type;  GtkShadowType shadow_type;  gint indicator_size;  gint x, y, width, height;  moz_gtk_checkbox_get_metrics(&indicator_size, NULL);  /* left justified, vertically centered within the rect */  x = rect->x;  y = rect->y + (rect->height - indicator_size) / 2;  width = indicator_size;  height = indicator_size;    if (selected) {    state_type = GTK_STATE_ACTIVE;    shadow_type = GTK_SHADOW_IN;  }  else {    shadow_type = GTK_SHADOW_OUT;    state_type = ConvertGtkState(state);  }    if (isradio)    gtk_paint_option(style, window, state_type, shadow_type, cliprect,                     gCheckboxWidget, "radiobutton", x, y, width, height);  else    gtk_paint_check(style, window, state_type, shadow_type, cliprect,                      gCheckboxWidget, "checkbutton", x, y, width, height);}